Skip to content
View in the app

A better way to browse. Learn more.

GAMELIFE România

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[ Plugins ] - AMX RESPAWN

  • Administrators

AMX RESPAWN


Respawn Players!

Command: amx_revive target

 

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>

#define PLUGIN "amx_revive"
#define VERSION "1.0"
#define AUTHOR "COSMIN"


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	register_concmd("amx_revive", "revive_user", ADMIN_RCON, "<target>")
}

public revive_user(id, level, cid) {
	
	if (!cmd_access(id, level, cid, 0 ))
	{
		console_print(id, "No Access To This Command");
		return PLUGIN_HANDLED;
	}
	
	new s_Name[32];
	read_argv ( 1, s_Name, charsmax ( s_Name ) );
	
	new i_Target = cmd_target ( id, s_Name, 2 );
	
	if(read_argc() != 2) {
		console_print(id, "Usage is : amx_revive <target>")
		
		return PLUGIN_HANDLED;
	}
	
	if ( !i_Target )
	{
		console_print ( id, "( - ! - ) Invalid Player ( - ! - )" );
		return PLUGIN_HANDLED;
	}
	
	if(!is_user_alive(i_Target)) {
		
		new targetname[32];
		get_user_name(i_Target, targetname, charsmax(targetname))
		
		ExecuteHamB(Ham_CS_RoundRespawn, i_Target)
		client_print(id, print_chat, "User %s Respawned", targetname)
	}
	
	return PLUGIN_HANDLED;
	
}

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/

 

Featured Replies

No posts to show

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.