SA-MP Forums Archive
Moving objects on vehicles - 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: Moving objects on vehicles (/showthread.php?tid=551666)



Moving objects on vehicles - McGuiness - 20.12.2014

Hey guys,

Am trying to work on some new things on my script but am having problems with the objects on vehicles.

I want it to that the object will continually move along the vehicle non stop until a command is used, can someone please give me an example of this! (I have looked for examples none and I have tried making it myself but doesn't work)


Re: Moving objects on vehicles - AmirSlaYeR - 20.12.2014

Use AttachObjectToVehicle


Re: Moving objects on vehicles - McGuiness - 20.12.2014

Well I use that as how I'm I meant to get the object there in the first place, but its the MOVING PART I need an example of how it works not just "Use AttachObjectToVehicle"....


Re: Moving objects on vehicles - Ryz - 20.12.2014

Quote:
Originally Posted by McGuiness
Посмотреть сообщение
Well I use that as how I'm I meant to get the object there in the first place, but its the MOVING PART I need an example of how it works not just "Use AttachObjectToVehicle"....
you must read this to learn about that

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