03.01.2016, 01:08
Using brackets in such an if-statement can make a difference. Try:
It works just like in mathematics:
PHP код:
if((gTeam[playerid] == TEAM_COP || gTeam[playerid] == TEAM_CIA || gTeam[playerid] == TEAM_FBI) && pData[playerid][Copban] != 0)
Код:
2 - 5 * 4 = -18 (2 - 5) * 4 = -12