ZR_PrintToAdminChat now checks for Admin_Generic flag
This commit is contained in:
parent
a0276e5c14
commit
6555cdd778
|
@ -175,7 +175,7 @@ stock ZR_PrintToAdminChat(String:message[])
|
|||
Format(buffer, sizeof(buffer), "[ZR] %s", message);
|
||||
for (new client = 1; client < maxclients; client++)
|
||||
{
|
||||
if (IsClientConnected(client) && IsClientInGame(client) && GetUserAdmin(client) != INVALID_ADMIN_ID)
|
||||
if (IsClientConnected(client) && IsClientInGame(client) && GetAdminFlag(GetUserAdmin(client), Admin_Generic))
|
||||
{
|
||||
PrintToChat(client, buffer);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user