Raised This Month: $ Target: $400
 0% 

Increase value by one


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
killergirl
Senior Member
Join Date: Jul 2010
Old 04-19-2011 , 15:00   Increase value by one
Reply With Quote #1

I'm trying to make a 'no-retry' plugin, but some players said they get kicked while they are connecting, or after they are connected.

PHP Code:
new g_Ready[33]

public 
client_putinserver(id)
{
    if(!
is_user_bot(id))
    {
        
g_Ready[id] += 1
        
        
new Name[32]
        
        
get_user_name(idName31)
        
        if(
g_Ready[id] > 2)
        {
            
server_cmd("kick %s"Name)
        }
    }
    
    return 
PLUGIN_HANDLED

killergirl is offline
 



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 20:03.


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