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



AttachObjectToVehicle - IIKINGII - 13.01.2013

I got a problem i want to attach a object to vehicle but the object does not show up
are these codes right

pawn Код:
new objectid, vehicleid;
objectid = CreateObject(1575, 1.06, 1.17, -0.27,   0.00, 0.00, 0.00);
vehicleid = CreateVehicle(578, 0.0000, 0.0000, 0.0000, 0.0000, -1, -1, 100);
AttachObjectToVehicle(objectid, vehicleid, 1.06, 1.17, -0.27,   0.00, 0.00, 0.00);
I get no errors


Re: AttachObjectToVehicle - IIKINGII - 13.01.2013

Plz help me


Re: AttachObjectToVehicle - IIKINGII - 13.01.2013

Some body help me plz