SA-MP Forums Archive
what did i do wrong?. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: what did i do wrong?. (/showthread.php?tid=81124)



what did i do wrong?. - Gamer007 - 08.06.2009

i get :


Код:
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\gamemodes\SZM.pwn(13302) : error 029: invalid expression, assumed zero
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\gamemodes\SZM.pwn(13302) : warning 215: expression has no effect
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\gamemodes\SZM.pwn(13302) : error 001: expected token: ";", but found "if"
code:

http://pastebin.ca/1452004

The code points to "else if(CurrentMenu == Exhausts)
what could be wrong with it? if i disable it it points me to frontbumper who is after the exhaust menu, i can show the above code of colors if need.


Re: what did i do wrong?. - Think - 08.06.2009

check the lines before it


Re: what did i do wrong?. - lol2112 - 08.06.2009

Are you sure it refers to that line?


Re: what did i do wrong?. - Gamer007 - 08.06.2009

Yes i am sure its that line i checked lines before it.


EDIT: SOlved, removed else.