SA-MP Forums Archive
Get AttachObjectToVehicle works - 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: Get AttachObjectToVehicle works (/showthread.php?tid=419967)



Get AttachObjectToVehicle works - misticini - 03.03.2013

Hello,

Im have a problem..I'm using a streamer in all my objects (incognitos) and i create alot of dynamic objects.

But at the time im trying to attach object to vehicles in this way:

vehicle = createvehicle..
object = createdynamicobject...
AttachDynamicObjectToVehicle(object,vehicle...

But i cant see the object attached to the car..I read in some posts that the problem is of incognito streamers..

How i can do this>?

Regards


Re: Get AttachObjectToVehicle works - Dubya - 03.03.2013

Try using the normal SAMP natives for this.
vehicle = CreateVehicle...
object = CreateObject...
AttachObjectToVehicle(object,vehicle...