Raised This Month: $ Target: $400
 0% 

Help with ban script


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
69er.nightwish
Junior Member
Join Date: Sep 2005
Old 10-18-2005 , 06:01  
Reply With Quote #6

Code:
server_cmd("banid 30 #%d", get_user_userid(id))
replace that with

Code:
new authid[35]
get_user_authid(id,authid,34)
server_cmd("amx_ban 30 %s 70 kills", authid)
As amxbans is SQL based u want to either use the amx_ban command the system gives u OR u wanna write an entire function for it which will make a SQL connection to the database and then add it. But this SHOULD work.
69er.nightwish 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 23:53.


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