eW: fix message to specs

This commit is contained in:
Dogan 2019-12-08 12:25:25 +01:00
parent a1b24ac6ca
commit 19eef9e81d

View File

@ -204,7 +204,7 @@ public void EW_OnClientItemActivate(int client, int index)
//----------------------------------------------------------------------------------------------------
public bool CheckIfTeamOrAdmin(int team, int client)
{
if(client > 0 && client <= MaxClients && IsClientInGame(client) && (team == GetClientTeam(client) || CheckCommandAccess(client, "", ADMFLAG_GENERIC)))
if(client > 0 && client <= MaxClients && IsClientInGame(client) && (team == GetClientTeam(client) || team <= 1 || CheckCommandAccess(client, "", ADMFLAG_GENERIC)))
return true;
else
return false;