Thread: [ANY] City Bans
View Single Post
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 07-16-2013 , 10:53   Re: [ANY] City Bans
Reply With Quote #10

argc should be < 1 instead of != 1 as people tend to use spaces with targets. You store and set the CmdReplySource, but you never set the value back to what it was after you print your message. You should consider using GetClientSerial instead of GetClientUserID to prevent potential duplicate checks on the same client. You should also consider checking the returns from a few GetClient* Functions (GetClientIP).

None of this seems lethal, though.
KyleS is offline