29.09.2018, 20:26
Ok gonna test later. About the gteam and admin level check, hold on:
Doing in this way will check if player is not a cop AND has an admin level lower than 5. I don't have to do in this way.
I need to check if is only a civilian (TEAM_CIVILIAN) OR an admin with level 5.
With your check EVERY admin from 0 to 4 is allowed to execute that command (even players since their admin level is 0!).
Or im wrong?
pawn Код:
if(gTeam[playerid] != TEAM_COP && Player[playerid][AccountLevel] < 5
I need to check if is only a civilian (TEAM_CIVILIAN) OR an admin with level 5.
With your check EVERY admin from 0 to 4 is allowed to execute that command (even players since their admin level is 0!).
Or im wrong?