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