#include <amxmodx> #include <hamsandwich> #define PLUGIN "/respawn" #define VERSION "1.0" #define AUTHOR "author" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /respawn", "player_respawn") register_clcmd("say_team /respawn", "player_respawn") } public player_respawn(id) { if(is_user_alive(id)) return; ExecuteHamB(Ham_CS_RoundRespawn, id); }