24.06.2014, 22:36
Why don't you stick simpler operators? That last part will always return true, regardless of what level the player actually is.
Let's say the admin level is 0: 0 inverted becomes 1, 1 is greater than or equal to 0, statement is true. However, let's now assume that the admin level is 5: 5 inverted becomes 0, 0 is greater than or equal to 0, statement is true.
Much simpler to just do:
Let's say the admin level is 0: 0 inverted becomes 1, 1 is greater than or equal to 0, statement is true. However, let's now assume that the admin level is 5: 5 inverted becomes 0, 0 is greater than or equal to 0, statement is true.
Much simpler to just do:
pawn Код:
pInfo[playerid][pLevel] < 1