public OnPlayerCommandReceived(playerid, cmd[], params[], flags) { if (!(flags & pPermissions[playerid])) { printf("player %d doesn’t have access to command '%s'", playerid, cmd); return 0; } return 1; }
if (flags != 0 && !(flags & pPermissions[playerid]))