Raised This Month: $ Target: $400
 0% 

Help with ban script


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Knare
Member
Join Date: Oct 2004
Location: New York, USA
Old 10-21-2005 , 07:41  
Reply With Quote #10

Code:
new authid[32], new kills = get_user_frags(id) get_user_authid(id,authid,31) if(kills <= 70) // greater symbol first      server_cmd("amx_ban %i %s ^"70 kills^"",get_cvar_num("bantime"),authid)

The ^" symbols tell the compile not to end the server cmd but put 70 kills in quotes when entered by the server, also the greater/less than symbols need to go before the equals or it wont work, also 123 what games is this for?
__________________
0110101100111011100110000101110010011001
Knare is offline
Send a message via AIM to Knare Send a message via MSN to Knare
 



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 23:53.


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