Raised This Month: $ Target: $400
 0% 

amx_banip


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
spiderbites
Senior Member
Join Date: Nov 2007
Old 12-08-2007 , 06:03   amx_banip
Reply With Quote #1

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" ?
spiderbites is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 12-08-2007 , 12:19   Re: amx_banip
Reply With Quote #2

"amx_banip ^"name^" 1440 ^"reason^""
[ --<-@ ] Black Rose 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 11:03.


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