AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   amx_banip (https://forums.alliedmods.net/showthread.php?t=64098)

spiderbites 12-08-2007 06:03

amx_banip
 
PHP Code:

server_cmd("amx_banip %s 1440 idiot.kthx",Authid

will this ban command work if player name contains spaces and numbers ? do i need to put quotes around %s ?

eg, nick to banip: "noob 100"

if type that in console, it looks like this:
amx_banip noob 100 1440 idiot.ktx

wont that unintentionally ban other player with nick "noob" for 100 minutes with reason "1440 idiot.ktx" ?

[ --<-@ ] Black Rose 12-08-2007 12:19

Re: amx_banip
 
"amx_banip ^"name^" 1440 ^"reason^""


All times are GMT -4. The time now is 11:03.

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