View Single Post
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 04-08-2018 , 12:54   Re: steam ID version
Reply With Quote #9

Quote:
Originally Posted by Old and Slow View Post
sm_addban 0 [U:1:9999999] works
sm_addban 0 [U:1:9999999] "reason for ban" works

sm_addban [U:1:9999999] does not work
Because time is not an optional parameter, either set it in the amount of minutes or 0 for permanent.

Quote:
Originally Posted by Old and Slow View Post
Looking at the code repository for basebans, e.g. this link showing the code in March 2008, it appears that the time was also mandatory then.

Looking as sm_banip also have been "time ip reason" forever, while also being documented correctly, I would say it is safe to assume that it has been a mistake made while documenting it on the Wiki.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline