02.08.2018, 11:19
You are using the AND operator incorrectly. You have to type a statement before and after the AND operator like this;
if(statement && statement)
What it does is, it checks if both statements are true. Returns the result(it's taught in math but basically 0 and 1 is 0, 1 and 0 is 0, 0 and 0 is 0, 1 and 1 is 1 and it can have 2^n equations at most, n being the amount of statements you have) and in your case it should be;
if(PlayerInfo[playerid][pAdmin] >= 3 && PlayerInfo[playerid][pAdmin] >= 5)
We use 2 statements.
if(statement && statement)
What it does is, it checks if both statements are true. Returns the result(it's taught in math but basically 0 and 1 is 0, 1 and 0 is 0, 0 and 0 is 0, 1 and 1 is 1 and it can have 2^n equations at most, n being the amount of statements you have) and in your case it should be;
if(PlayerInfo[playerid][pAdmin] >= 3 && PlayerInfo[playerid][pAdmin] >= 5)
We use 2 statements.

