How to make!
#4

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.
Reply


Messages In This Thread
How to make! - by Man43 - 02.08.2018, 10:20
Re: How to make! - by Man43 - 02.08.2018, 10:52
Re: How to make! - by Banditul18 - 02.08.2018, 10:55
Re: How to make! - by Rufio - 02.08.2018, 11:19

Forum Jump:


Users browsing this thread: 1 Guest(s)