The plugin adds the amx_revive command for administrators with access ur_admin_access.
Examples of using this command:
Spoiler
amx_revive w0w - respawn w0w with 100 HP.
amx_revive w0w 500 - respawn w0w with 500 HP.
amx_revive w0w 100 500 - respawn w0w with 100 HP and 500 armor.
amx_revive T - respawn all terrorists.
amx_revive CT 0 1000 - respawn all counter-terrorists with 1 HP and 999 armor.
amx_revive ALL - respawn all players.
amx_revive "#16" - respawn player with userid 16.
amx_revive "STEAM_1:1:1" - respawn player with this Steam ID.
Moreover, it's possible to use a menu to revive players; for this, ur_menu_cmd should be enabled.
ur_menu_cmd_name: name of the command to open the menu to revive players.
Other cvars:
ur_bot_support: bot support (the ability to respawn bots).
ur_messages: show messages or not.
0 - disabled
1 - show only to the person who uses the command and to who is respawned.
2 - show to everyone.
ur_log: log when an admin respawns a player/team/all players.
The config file is created automatically in "amxmodx/configs/plugins" where you can set settings which you want.
Configuration file:
Spoiler
Code:
// Cvars for plugin "Ultimate Revive" by "w0w" (ultimate_revive.amxx, v0.5)// Admin access to console command to revive players// -// Default: "m"
ur_admin_access "m"// 1 - it's enabled the console command to revive a player/team/everyone; 0 - disabled// -// Default: "1"
ur_console_cmd "1"// Console command to revive players// -// Default: "amx_revive"
ur_console_cmd_name "amx_revive"// If a player has no access and entered the command. 0 - he'll see "Unknown command: ..." (depending on ur_console_cmd_name); 1 - he'll see only the command he entered; 2 - he'll see "You have no access to that command" (NO_ACC_COM in common.txt)// -// Default: "0"// Minimum: "0.000000"// Maximum: "2.000000"
ur_console_cmd_access_deny_mode "0"// 1 - it's enabled the menu command to revive a player; 0 - disabled// -// Default: "1"
ur_menu_cmd "1"// Command to open a menu to revive players// -// Default: "amx_revivemenu"
ur_menu_cmd_name "amx_revivemenu"// Bot support. 0 - disabled support; 1 - enabled// -// Default: "0"// Minimum: "0.000000"// Maximum: "1.000000"
ur_bot_support "0"// 0 - disabled; 1 - show only to who used the command and who was revived; 2 - show to everyone// -// Default: "1"// Minimum: "0.000000"// Maximum: "2.000000"
ur_messages "1"// Logging when admins revive a player/team/everyone. 0 - disabled; 1 - enabled// -// Default: "0"// Minimum: "0.000000"// Maximum: "1.000000"
ur_log "0"
This is the point dont make something already been made.
I meant I made this plugin a few months ago but decided to post my plugins here, too. Yes, there is another plugin which it's called Ultimate Revive, by anakin_cstrike. It's very old and has some bugs. My plugin, however, has more features and I think it's better regarding the code.