REGISTER











Plugin respawn
#1
#include
#include
#include

new const PLUGIN[] = "Auto Respawn"
new const VERSION[] = "1.0"
new const AUTHOR[] = "platzpatrone"

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam( Ham_Killed, "player", "RespawnPlayer" );

register_event("TextMsg","team_join","a","1=1","2&Game_join_te","2&Game_join_ct")

}

public RespawnPlayer(id)
{
if (get_user_team(id) == 3)
return PLUGIN_HANDLED

if (!is_user_alive(id))
{
ExecuteHamB(Ham_CS_RoundRespawn, id);
}

return PLUGIN_CONTINUE
}

set_task(12.0, "RespawnPlayer", id);
}
Download SMA/AMXX:
http://forums.allied...40&d=1128370062
http://www.amxmodx.o...cgi?file_id=240
#2
OFF: cer warn pentru mirror , for 2x post!
ON: multumim de plugin !
#3
Topic Closed ! Ai un model de respectat !



Powered by MyBB All rights reserved
Developed with for FASTCS 2011 - 2024 FASTCS