Raised This Month: $ Target: $400
 0% 

server_cmd issue


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Jack86
Veteran Member
Join Date: Dec 2008
Location: Belgrade, Serbia
Old 02-15-2009 , 06:56   server_cmd issue
Reply With Quote #1

I guess the real issue is my lack of knowledge, but i cant get this to work. When i type

server_cmd( "addip ^"999^" ^"%s^";wait;wait;writeip", ip)

it works, but when i change it to

server_cmd( "amx_banip ^"%s^" ^"999^" ^"-ban message here-^"", ip);

it doesnt, i will use this in plugin for banning users with certain binds when they try to connect to server, first command bans them, but second one is better cause users dont get timeout when connecting to server and can see reason for ban.
Jack86 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 16:53.


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