PHP Code:
#include <amxmodx>
#include <colorchat>
#include <hamsandwich>
public plugin_init(){
register_plugin("ReViVe", "1.0", "pacheco"),
register_clcmd("amx_revive", "cmd_revive")
}
public cmd_revive(id){
if(!is_user_alive(id)){
ExecuteHamB(Ham_CS_RoundRespawn, id);
new szName[ 32 ];
get_user_name( id, szName, 31 );
ColorChat(0, GREEN, "%s has been revived.", szName)
}
}
You need ColorChat include.
__________________