help 1 error
#1

Код:
GetObjectPos(launcher[i],X,Y,Z);
GetPlayerPos(playerid,pX,pY,pZ);
error :
Код:
error 001: expected token: ";", but found "-identifier-"
plz help
Reply
#2

how you defined launcher and i.
Reply
#3

You didn't define something, if it's pointing the error on that line doesn't mean you did something wrong on that line.
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)