SA-MP Forums Archive
Compile 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: Compile Error (/showthread.php?tid=247720)



Compile Error - Gangasta300 - 10.04.2011

hi all

at this command i get this error:
Код:
pokretna1 = CreateDynamicObject(8263,1992.131,-2477.557,5.0,0.0,0.0,0.0); // Pokretna
this is error:
Код:
expected token: ";", but found "-identifier-"



Re: Compile Error - Gangasta300 - 10.04.2011

no one know?


Re: Compile Error - Vince - 10.04.2011

Missing semicolon on the live above.

Post times: 14:55 - 15:07
Really, are you that desperate? -.-"


Re: Compile Error - Max_Coldheart - 10.04.2011

Yea, Sometimes errors can make ppl desperate :P


Re: Compile Error - Mean - 10.04.2011

In the line before that one, you have forgot a semicolon:
pawn Код:
// Example
pokretna1 = CreateDynamicObject(8263,1992.131,-2477.557,5.0,0.0,0.0,0.0) // You need a semicolon here.
pokretna1 = CreateDynamicObject(8263,1992.131,-2477.557,5.0,0.0,0.0,0.0); // Pokretna
Just an example^.