help 1 error - 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: help 1 error (
/showthread.php?tid=133949)
help 1 error -
aircombat - 14.03.2010
Код:
GetObjectPos(launcher[i],X,Y,Z);
GetPlayerPos(playerid,pX,pY,pZ);
error :
Код:
error 001: expected token: ";", but found "-identifier-"
plz help
Re: help 1 error -
Deat_Itself - 14.03.2010
how you defined launcher and i.
Re: help 1 error -
Andy_McKinley - 14.03.2010
You didn't define something, if it's pointing the error on that line doesn't mean you did something wrong on that line.
Re: help 1 error -
Donny_k - 14.03.2010
Indeed the error is saying basically this:
"I got to this line and didn't find a semicolon, instead I found a variable".
Probably just did this:
pawn Код:
new
blah // no ";" here <<<
SomeFunc( args );
It will read that and find the variable before it finds the next semicolon so it didn't find what it expected to find, hence the error.