MakeAdmin Problem with levels!
#6

This if statement is not going to work:

pawn Code:
if(AdminLevel <= 101 || 102 || 103 || 104 || 105 || 106 || 1338)
It won't work because it makes no sense, what you want to do is check if the person entered in either of those, with an if statement, you can do that like so:

pawn Code:
if((AdminLevel >= 101 && AdminLevel <= 106) || AdminLevel == 1338)
So what we are doing now, is checking if the admin level is greater than or equal to 101 AND less than or equal to 106, OR if the admin level is 1338.
Reply


Messages In This Thread
MakeAdmin Problem with levels! - by ricardo178 - 19.03.2011, 15:00
Re: MakeAdmin Problem with levels! - by -Rebel Son- - 19.03.2011, 15:03
Re: MakeAdmin Problem with levels! - by ricardo178 - 19.03.2011, 15:06
Re: MakeAdmin Problem with levels! - by -Rebel Son- - 19.03.2011, 15:17
Re: MakeAdmin Problem with levels! - by ricardo178 - 19.03.2011, 15:23
Re: MakeAdmin Problem with levels! - by JaTochNietDan - 19.03.2011, 16:45
Re: MakeAdmin Problem with levels! - by ricardo178 - 19.03.2011, 16:49
Re: MakeAdmin Problem with levels! - by JaTochNietDan - 19.03.2011, 16:51
Re: MakeAdmin Problem with levels! - by ricardo178 - 19.03.2011, 16:52
Re: MakeAdmin Problem with levels! - by JaTochNietDan - 19.03.2011, 16:55

Forum Jump:


Users browsing this thread: 1 Guest(s)