|
AlliedModders Donor
|
10-21-2014
, 16:01
Re: Show SMAC BAN to non admins
|
#21
|
Quote:
Originally Posted by nomy
Lets try Tony's suggestion.
Use original unmodified smac and use this instead:
PHP Code:
#pragma semicolon 1
#include <sourcemod>
public Action:OnBanClient(client, time, flags, const String:reason[], const String:kick_message[], const String:command[], any:admin) { ServerCommand("sm_banip #%d %s \"%s\"", GetClientUserId(client), time, reason); PrintToChatAll("\x04[SMAC] \x01Player \x03%N \x01has been banned for a cheating infraction.", client); }
|
But wouldn't this affect every plugin along with manual banning using the sm_ban command?
|
|
|
|