Annoying...
#1

Код:
if(IsPlayerAdmin(playerid) == 1) || gteam[playerid]==Team_LSPD || gteam[playerid]==Team_DMV) {
error 029: invalid expression, assumed zero x2

Код:
warning 225: unreachable code
That's the next command, so I thought It was too many brackets or something, but No, If I remove one, I get thousands of errors.
If I add one, Pawn Compiler crashes.

Код:
if(IsPlayerAdmin(playerid) == 1 || gteam[playerid]==Team_DMV || gteam[playerid]==Team_LSPD) {
:S

What's the problem with this code? I mean, It works on other commands but not right here.
And the funny thing is that I didn't change it at all, I was doing other things under another Public function...

Note: I don't wanna post the code, because It's too unique.
Reply


Messages In This Thread
Annoying... - by Mike Garber - 27.09.2009, 11:24
Re: Annoying... - by AiVAMAN - 27.09.2009, 11:33
Re: Annoying... - by Desert - 27.09.2009, 11:35
Re: Annoying... - by Mike Garber - 27.09.2009, 11:36
Re: Annoying... - by Desert - 27.09.2009, 11:39
Re: Annoying... - by Mike Garber - 27.09.2009, 11:43
Re: Annoying... - by Hiitch - 27.09.2009, 11:48
Re: Annoying... - by Mike Garber - 27.09.2009, 11:51
Re: Annoying... - by Hiitch - 27.09.2009, 11:53
Re: Annoying... - by Mike Garber - 27.09.2009, 12:22

Forum Jump:


Users browsing this thread: 1 Guest(s)