Quote:
Originally Posted by RedRobster
The way to do this is...
PHP Code:
public plugin_init() { RegisterHam( Ham_Spawn, "player", "Player_Spawn", 1 ) }
public Player_Spawn(id) { if(cs_get_user_team == CS_TEAM_T && is_user_alive( id ) ) //Will only do it to Ts (Zombies if I remember correctly). Second thing is just an extra check, won't hurt to have it). set_user_health( id, 100 ) //100 or w/e you want starting health to be }
|
Sorry, but i can't see why i should need this code.
i tested it but it changed nothing. The bugs still exist
__________________