Quote:
Originally Posted by AntiBots
Here i put, the player when enter is die?
PHP Code:
public TaskCheckAlive(plr) { if( !g_can_respawn ) { return; } new CsTeams:team = cs_get_user_team(plr); if( team == CS_TEAM_UNASSIGNED || team == CS_TEAM_SPECTATOR ) { set_task(1.0, "TaskCheckAlive", plr); return; } if( g_is_dead[plr] ) { ExecuteHamB(Ham_CS_RoundRespawn, plr); } } public client_PreThink(plr) { if( g_can_respawn ) { set_task(2.0, "TaskCheckAlive", plr); } }
|
hey, sorry but i dunno anything about pawn =/ and i didnt understand your inglish too xD
when they join they are dead cuz the round has already started, i guess u should add something to make they go alive when they select team or something