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



move object - DennisArenz - 02.05.2010

Hay, i have a question: i want to move an objekt like a garage door. When i have an objekt at the position x=3 y=4 y=5 and want to move it with the command /open at the position x=3,5 y=4,5 z=5,5 what should i do? i hope someone can help me yours Dennis


Re: move object - [XST]O_x - 02.05.2010

https://sampwiki.blast.hk/wiki/MoveObject


Re: move object - Holnista - 02.05.2010

MoveObject(objectid, YourX+0.5, YourY+0.5, YourZ+0.5);

But if you want move doors only up and down add +0.5 only in >Z< Float.