View Single Post
Plug me up
Member
Join Date: Aug 2008
Old 08-23-2008 , 22:42   Re: WarmUP Pro 3.0
Reply With Quote #26

Quote:
Originally Posted by AntiBots View Post
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_RoundRespawnplr); 
    } 

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
Plug me up is offline