03.01.2016, 01:11
Quote:
Using brackets in such an if-statement can make a difference. Try:
PHP код:
Код:
2 - 5 * 4 = -18, while (2-5) * 4 = -12 |
pawn Код:
if(pData[playerid][Copban])
{
if(gTeam[playerid] == TEAM_COP || gTeam[playerid] == TEAM_CIA || gTeam[playerid] == TEAM_FBI)
{
}
}