sourcebans: make ban message always print to chat
This commit is contained in:
parent
ba5ec2a3e2
commit
233fbdfa8c
@ -1116,16 +1116,16 @@ public VerifyInsert(Handle:owner, Handle:hndl, const String:error[], any:dataPac
|
||||
{
|
||||
if (Reason[0] == '\0')
|
||||
{
|
||||
ShowActivityEx(admin, Prefix, "%t", "Permabanned player", Name);
|
||||
PrintToChat(admin, "%s %t", Prefix, "Permabanned player", Name);
|
||||
} else {
|
||||
ShowActivityEx(admin, Prefix, "%t", "Permabanned player reason", Name, Reason);
|
||||
PrintToChat(admin, "%s %t", Prefix, "Permabanned player reason", Name, Reason);
|
||||
}
|
||||
} else {
|
||||
if (Reason[0] == '\0')
|
||||
{
|
||||
ShowActivityEx(admin, Prefix, "%t", "Banned player", Name, time);
|
||||
PrintToChat(admin, "%s %t", Prefix, "Banned player", Name, time);
|
||||
} else {
|
||||
ShowActivityEx(admin, Prefix, "%t", "Banned player reason", Name, time, Reason);
|
||||
PrintToChat(admin, "%s %t", Prefix, "Banned player reason", Name, time, Reason);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user