/fine not working
#14

Quote:
Originally Posted by Jochemd
View Post
That's just stupid. Think logic

Your admin level is high enough, BUT your helper level is not! Since you're using "||" it means "or" to call the code down.

pawn Code:
if(PlayerInfo[playerid][pAdmin] <= 3 && PlayerInfo[playerid][pHelper] <= 4)
Use this instead.
^^^^
this is correct

However, I personally believe you shouldn't even use it like that but like this

pawn Code:
if(PlayerInfo[playerid][pAdmin] >= 4 || PlayerInfo[playerid][pHelper] >= 5)
around the entire code....Instead of having an error checking method like that, this way you'd be able to be a helper or an admin with the correct levels...
Reply


Messages In This Thread
/fine not working - by $$Money$$ - 28.12.2011, 07:02
Re: /fine not working - by Jochemd - 28.12.2011, 08:31
Re: /fine not working - by $$Money$$ - 28.12.2011, 08:36
Re: /fine not working - by SupremeCommander - 28.12.2011, 08:37
Re: /fine not working - by Jochemd - 28.12.2011, 08:56
Re: /fine not working - by Max_Coldheart - 28.12.2011, 09:03
Re: /fine not working - by Chris White - 28.12.2011, 09:05
Re: /fine not working - by Jochemd - 28.12.2011, 09:06
Re: /fine not working - by hittt - 28.12.2011, 11:26
Re: /fine not working - by Leo_Johnson - 28.12.2011, 11:28
Re: /fine not working - by Jochemd - 28.12.2011, 21:22
Re: /fine not working - by Steven82 - 28.12.2011, 21:28
Re: /fine not working - by Jochemd - 28.12.2011, 21:51
Re: /fine not working - by [ABK]Antonio - 28.12.2011, 22:08

Forum Jump:


Users browsing this thread: 2 Guest(s)