Help with cmd bug
#4

EDIT: hold on. I misread the question.

EDIT2: I've enclosed your conditions with the && operator in a pair of brackets:
PHP Code:
if(IsACop(playerid) || (PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pDivision] == 2) || (PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] >= 5) || (PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pDivision] == 2)) 
You can compare such an if-statement with a mathematical operation where the order of operations is of importance.
Reply


Messages In This Thread
Help with cmd bug - by StrikerZ - 05.08.2016, 14:58
Re: Help with cmd bug - by StrikerZ - 05.08.2016, 15:51
Re: Help with cmd bug - by StrikerZ - 06.08.2016, 02:31
Re: Help with cmd bug - by AndySedeyn - 06.08.2016, 02:35
Re: Help with cmd bug - by StrikerZ - 06.08.2016, 06:01
Re: Help with cmd bug - by StrikerZ - 06.08.2016, 15:49
Re: Help with cmd bug - by Shinja - 06.08.2016, 15:56
Re: Help with cmd bug - by KevinKush - 06.08.2016, 23:45

Forum Jump:


Users browsing this thread: 1 Guest(s)