Made a switch for printing suicide attempts to admin chat. Added suicide response text to client chat too, not just the console.
This commit is contained in:
@ -115,4 +115,17 @@ stock ZR_ReplyToCommand(client, any:...)
|
||||
FormatTextString(phrase, sizeof(phrase));
|
||||
|
||||
ReplyToCommand(client, phrase);
|
||||
}
|
||||
|
||||
stock ZR_PrintToAdminChat(String:message[])
|
||||
{
|
||||
decl String:buffer[192];
|
||||
Format(buffer, sizeof(buffer), "[ZR] %s", message);
|
||||
for (new client = 1; client < maxclients; client++)
|
||||
{
|
||||
if (IsClientConnected(client) && IsClientInGame(client) && GetUserAdmin(client) != INVALID_ADMIN_ID)
|
||||
{
|
||||
PrintToChat(client, buffer);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user