AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help amx_addban advanced bans (https://forums.alliedmods.net/showthread.php?t=224721)

quark 08-27-2013 16:17

Help amx_addban advanced bans
 
PHP Code:

server_cmd("amx_addban %s %s 60 Testing"name[id], g_szAuthIDid ]) 

i'm using advanced bans.

Why isn't this working?

Black Rose 08-27-2013 16:22

Re: Help amx_addban advanced bans
 
Does it print anything?

quark 08-27-2013 16:30

Re: Help amx_addban advanced bans
 
in logs , no , and i cant acess the server console.

fysiks 08-27-2013 22:51

Re: Help amx_addban advanced bans
 
You need to have quotes around the name and AuthID.

HalfLife 08-28-2013 11:38

Re: Help amx_addban advanced bans
 
Fysiks is right. It will be like amx_addban ^"blabla^"
You should add a ^ before starting " then again ^ before ending.


All times are GMT -4. The time now is 19:13.

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