/GOV is not working properly
#2

pawn Код:
if((PlayerInfo[playerid][pFLeader] != 11) || (PlayerInfo[playerid][pFLeader] != 13) || (PlayerInfo[playerid][pFLeader] != 12) || (PlayerInfo[playerid][pFLeader] != 16))
Shouldn't you be using &&?
Using || is basically or, while && is basically and.
Right now you're checking and sending the message if he's not leader of 11, or 12, or 13, or 16, so he has to be leader of all of them to use the command.

You should send the message if he's not leader of 11 and 12 and 13 and 16, so he only has to be leader of one of them.
Reply


Messages In This Thread
/GOV is not working properly - by Blade_Cervetti - 02.03.2015, 03:41
Re: /GOV is not working properly - by CalvinC - 02.03.2015, 05:38

Forum Jump:


Users browsing this thread: 1 Guest(s)