Thread: Show bans
View Single Post
nomy
Senior Member
Join Date: Dec 2009
Location: United Kingdom
Old 10-21-2014 , 14:26   Re: Show SMAC BAN to non admins
Reply With Quote #20

Lets try Tony's suggestion.

Use original unmodified smac and use this instead:

PHP Code:
#pragma semicolon 1

#include <sourcemod>

public Action:OnBanClient(clienttimeflags, const String:reason[], const String:kick_message[], const String:command[], any:admin)
{
    
ServerCommand("sm_banip #%d %s \"%s\""GetClientUserId(client), timereason);
    
PrintToChatAll("\x04[SMAC] \x01Player \x03%N \x01has been banned for a cheating infraction."client);

nomy is offline