13.10.2009, 12:25
Erhm what the jacksh**?
That will not compile.
This is how it is done:
Will compile fine.
There is no need to open another parenthese if you use the LOGICAL OR operator( '||').
pawn Код:
if(gTeam[playerid] == TEAM_FBI || (gTeam[playerid] == TEAM_SHERIFF || (gTeam[playerid] == TEAM_COP))
This is how it is done:
pawn Код:
if(gTeam[playerid] == TEAM_FBI || gTeam[playerid] == TEAM_SHERIFF || gTeam[playerid] == TEAM_COP)
There is no need to open another parenthese if you use the LOGICAL OR operator( '||').