SA-MP Forums Archive
Hey can you give me a guide for VehicleObject - 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: Hey can you give me a guide for VehicleObject (/showthread.php?tid=478403)



Hey can you give me a guide for VehicleObject - yaron0600 - 29.11.2013

Hey can you give me a guide for VehicleObject, To put a objects on a specific vehicle, how,etc...


Re: Hey can you give me a guide for VehicleObject - Avi Raj - 29.11.2013

AttachObjectToVehicle


Re: Hey can you give me a guide for VehicleObject - Konstantinos - 29.11.2013

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

https://sampforum.blast.hk/showthread.php?tid=267742


Re: Hey can you give me a guide for VehicleObject - iBots - 29.11.2013

if u mean to attach object to the vehicle :
pawn Код:
new objectid = CreateObject(...);
new vehicleid = GetPlayerVehicleID(playerid);
AttachObjectToVehicle(objectid, vehicleid, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);
the parameters..:
pawn Код:
(objectid, vehicleid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ)



Re: Hey can you give me a guide for VehicleObject - yaron0600 - 29.11.2013

I mean, can you give me a example for make on sultan a cab of taxi object, I want to see the specific codes for it, cause IDK how to edit the parameters...