View Single Post
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 08-23-2008 , 21:29   Re: WarmUP Pro 3.0
Reply With Quote #25

Quote:
Originally Posted by Plug me up View Post
great plugin, works fine, +karma
only thing i may say is that when wup time goes like "99999" new players cant join cuz they hav to wait for nextround (that is not comming =p)
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); 
    }     

__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots