21.05.2018, 13:08
!IsPlayerAdmin(playerid) || pInfo[playerid][Admin] == 6
See that thing in red? It is the equality operator, so if left is equal to right (pInfo[playerid][Admin] and 6) it will give a value of true.
What you need is the inequality operator ( != ), which checks if left and right aren't equal.
PS: Read this article about C/++ operators (ignore the C/++ specific things) because Pawn is based on C's syntax.
See that thing in red? It is the equality operator, so if left is equal to right (pInfo[playerid][Admin] and 6) it will give a value of true.
What you need is the inequality operator ( != ), which checks if left and right aren't equal.
PS: Read this article about C/++ operators (ignore the C/++ specific things) because Pawn is based on C's syntax.