SA-MP Forums Archive
Moving object - 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: Moving object (/showthread.php?tid=79842)



Moving object - Futurezx - 31.05.2009

if i compile i get 2 warnings because of these warnings my object won't move i think :S

(190) : warning 202: number of arguments does not match definition
(197) : warning 202: number of arguments does not match definition

Line 190: MoveObject(helipad,4726, 382.001038,2500.741211,52.551369,100);
Line 197: MoveObject(helipad,4726, 372.814697,2547.501709,14.510818,100);

I really need this moving object because for my stunt sevrer i create it's to get on a other stunt :P


Re: Moving object - JoeDaDude - 31.05.2009

Wow that is going to move super slow,
And you only need your X, Y, Z


Re: Moving object - Menace. - 31.05.2009

It should be (I think)

pawn Код:
MoveObject(objectid,x,y,z);
Not

pawn Код:
MoveObject(objectid,?,x,y,z,?);



Re: Moving object - Abernethy - 31.05.2009

Paste this on the lines you're getting the errors on.
Код:
MoveObject(helipad, 382.001038, 2500.741211, 52.551369, 100.0);
MoveObject(helipad, 372.814697, 2547.501709, 14.510818, 100.0);