SA-MP Forums Archive
Move attached object ? (please :( ) - 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)
+--- Thread: Move attached object ? (please :( ) (/showthread.php?tid=340776)



Move attached object ? (please :( ) - Papacool - 08.05.2012

Hi !

Is there a function to move an object attached to vehicle or player ?
I didn't found it :/
Thanks

I know i can make one, but i need to freeze the vehicle (because Move Object is Based on map)


Re: Move attached object ? (please :( ) - Shabi RoxX - 08.05.2012

Create player object:https://sampwiki.blast.hk/wiki/CreatePlayerObject
MovePlayer Object : https://sampwiki.blast.hk/wiki/MovePlayerObject


Re: Move attached object ? (please :( ) - Papacool - 08.05.2012

It will move the object on the map, not the entity attached to...


Re: Move attached object ? (please :( ) - Loki1412 - 02.02.2016

Up this post!


Re: Move attached object ? (please :( ) - KillerDVX - 02.02.2016

Not directly possible, but you could make a relatively fast timer and get the position of the object you wish to move, and with some math set the position of the other object next to it, appearing as if it's attached.


Re: Move attached object ? (please :( ) - chneubeul - 05.12.2017

Hello,

see this link : https://www.gtaonline.net/forums/ind...?topic=17927.0


See you