Raised This Month: $ Target: $400
 0% 

Help with ban script


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
69er.nightwish
Junior Member
Join Date: Sep 2005
Old 10-18-2005 , 11:48  
Reply With Quote #1

The issue with ur ban command is there is NO reason specified.

This will give a ban in the amxban database without a reason so it will STILL not be documented properly.

The 70 kills thing in my code was the ban reason given.

So combined it would give something like this:

Code:
new authid[32], new kills = get_user_frags(id)
get_user_authid(id,authid,31)

if(kills =< 70)
     server_cmd("amx_ban %i %s 70 kills",get_cvar_num("bantime"),authid)
If the 70 kills bit needs specific quotes to get picked up properly im not sure about I dont think it does but I never tried
69er.nightwish is offline
Reply



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