error -.-
#9

Quote:
Originally Posted by [NT
Extremo ]
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( '||').
guess my explaination was a bit off huh? Don't blame me, blame the poster.... wait.. that is me, blame time! It was about 1 AM

and I finally saw what the name of ilikepie stood for I_like_pie.. I read it as one word so I was like 'wtf?'.... I think I'd better to go bed now..
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: 6 Guest(s)