Simple Code Add Vehicle Attachment?
#1

to specified vehicles With a single code To add objects What kind of methods?
Reply
#2

Try AttachObjectToVehicle.
You may find this tutorial useful: https://sampforum.blast.hk/showthread.php?tid=267742
Reply
#3

AttachObjectToVehicle(objectid, vehicleid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:RotZ);
objectid - The object you want to attach
vehicleid - The vehicle you want to attach the object to
Float:fOffsetX - The distance between the vehicle, and the object (X direction)
Float:fOffsetY - The distance between the vehicle, and the object (Y direction)
Float:fOffsetZ - The distance between the vehicle, and the object (Z direction)
Float:fRotX - The X rotation between the object and the vehicle
Float:fRotY - The Y rotation between the object and the vehicle
Float:RotZ - The Z rotation between the object and the vehicle
Reply
#4

Quote:
Originally Posted by Darkwood17
Посмотреть сообщение
For example this code,all 554 number vehicle added object?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)