View Single Post
ShadowMoses
Junior Member
Join Date: May 2007
Location: Ventura, CA
Old 11-16-2008 , 07:20   Re: Bad name banning
Reply With Quote #157

That is odd, I can see it.

Anyway all you have to do is

Code:
Replace: ServerCommand("banid %i %i", bantime, playerId);
With: ServerCommand("sm_ban #%i %i \"%s\"", playerId, bantime, reason);

Replace: ServerCommand("kickid %i %s", playerId, reason);
With: ServerCommand("sm_kick #%i \"%s\"", playerId, reason);

Move: 
new String:reason[64];
GetConVarString(bnb_reason,reason,64);

After: ReplaceString(clientName, 64, " ", "");
At least that is what I did and it seems to work with sourcebans great.
ShadowMoses is offline