SA-MP Forums Archive
need moveobject code - 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: need moveobject code (/showthread.php?tid=75154)



need moveobject code - luckie12 - 29.04.2009

have anyone a moving object code a easy please im new thx alot


Re: need moveobject code - EnerG - 29.04.2009

on top:
Код:
new fc;// or whatever u want to name it
Код:
if (strcmp("/Yourcommand",cmdtext, true, 10) == 0){
MoveObject(fc, x, y ,z, 5); // The 5 is the speed of the moving object
return 1;}

Make sure you have your object like this.

Код:
fc = CreateObject(3330,2778.318115,-1809.945922,9.786190,-1.000000,-2.000000,-47.000000); //