error -.-
#7

Erhm what the jacksh**?

pawn Код:
if(gTeam[playerid] == TEAM_FBI || (gTeam[playerid] == TEAM_SHERIFF || (gTeam[playerid] == TEAM_COP))
That will not compile.

This is how it is done:

pawn Код:
if(gTeam[playerid] == TEAM_FBI || gTeam[playerid] == TEAM_SHERIFF || gTeam[playerid] == TEAM_COP)
Will compile fine.

There is no need to open another parenthese if you use the LOGICAL OR operator( '||').
Reply


Messages In This Thread
error -.- - by Lajko1 - 12.10.2009, 15:01
Re: error -.- - by mamorunl - 12.10.2009, 15:23
Re: error -.- - by Lajko1 - 12.10.2009, 15:30
Re: error -.- - by ilikepie2221 - 12.10.2009, 15:35
Re: error -.- - by Lajko1 - 12.10.2009, 15:51
Re: error -.- - by mamorunl - 13.10.2009, 12:11
Re: error -.- - by Extremo - 13.10.2009, 12:25
Re: error -.- - by Lajko1 - 13.10.2009, 13:44
Re: error -.- - by mamorunl - 14.10.2009, 22:19

Forum Jump:


Users browsing this thread: 1 Guest(s)