Raised This Month: $ Target: $400
 0% 

AFK Management: Edit this script


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 08-08-2008 , 23:36   Re: AFK Management: Edit this script
Reply With Quote #2

Delete:
PHP Code:
public check_unassignedarrId[] ) 

    new 
id=arrId[0
 
    
//if the player is unassigned after x seconds then kick him 
    
if( is_user_connected(id) && fm_get_user_teamid ) == CS_TEAM_UNASSIGNED 
        
punish_playeridPUNISH_UNASSIGNED 

And:

PHP Code:
        case PUNISH_UNASSIGNED
        { 
            
client_print0print_chat"%s was kicked for being unnassigned longer than %d seconds"nameget_pcvar_num(unassignedTime) ) 
            
server_cmd("kick #%d ^"You were kicked for being unassigned for more than %d seconds^""get_user_userid(id ), get_pcvar_num(unassignedTime) ) 
        } 
</SPAN>
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode