Raised This Month: $ Target: $400
 0% 

Help amx_addban advanced bans


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 08-27-2013 , 16:17   Help amx_addban advanced bans
Reply With Quote #1

PHP Code:
server_cmd("amx_addban %s %s 60 Testing"name[id], g_szAuthIDid ]) 
i'm using advanced bans.

Why isn't this working?
__________________

Check out My Plugins:
qServerInfo ; ASKTAG

Last edited by quark; 08-27-2013 at 16:19.
quark is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 08-27-2013 , 16:22   Re: Help amx_addban advanced bans
Reply With Quote #2

Does it print anything?
__________________
Black Rose is offline
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 08-27-2013 , 16:30   Re: Help amx_addban advanced bans
Reply With Quote #3

in logs , no , and i cant acess the server console.
__________________

Check out My Plugins:
qServerInfo ; ASKTAG

Last edited by quark; 08-27-2013 at 16:30.
quark is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-27-2013 , 22:51   Re: Help amx_addban advanced bans
Reply With Quote #4

You need to have quotes around the name and AuthID.
__________________

Last edited by fysiks; 08-27-2013 at 22:51.
fysiks is offline
HalfLife
Senior Member
Join Date: Aug 2013
Location: I'll tell you later ;)
Old 08-28-2013 , 11:38   Re: Help amx_addban advanced bans
Reply With Quote #5

Fysiks is right. It will be like amx_addban ^"blabla^"
You should add a ^ before starting " then again ^ before ending.
__________________
If you need any help regarding your HL Server, PM me and I can help you
My Tutorials:
How to install and use your SQL Database using AMX Mod X Plugins
HalfLife is offline
Reply


Thread Tools
Display Modes

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 19:13.


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