eW: fix message to specs
This commit is contained in:
parent
a1b24ac6ca
commit
19eef9e81d
@ -204,7 +204,7 @@ public void EW_OnClientItemActivate(int client, int index)
|
|||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
public bool CheckIfTeamOrAdmin(int team, int client)
|
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;
|
return true;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user