SA-MP Forums Archive
Attaching objects to a vehicle. - 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: Attaching objects to a vehicle. (/showthread.php?tid=526720)



Attaching objects to a vehicle. - PrinceOfPersia - 19.07.2014

How do I attach objects to vehicle?

Like, attaching bombs in a Shamal, etc.


Re: Attaching objects to a vehicle. - GeekSiMo - 19.07.2014

Something like this :
Quote:

attachedobject[vehicleid] = CreateObject( xxxx, xxx, xxx, xxx, 0.00, 0.00, xxxx );
AttachObjectToVehicle( attachedobject[vehicleid], vehicleid, xxx, xxx, xxx, 0.00, 0.00, xxxx);