01.04.2015, 09:35
https://sampwiki.blast.hk/wiki/AttachObjectToVehicle
It's a function in which attaches a previous created object to a vehicle.
Example:
ExampleObject = CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, FloatrawDistance);
AttachObjectToVehicle(ExampleObject, vehicleid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ);
It's a function in which attaches a previous created object to a vehicle.
Example:
ExampleObject = CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, FloatrawDistance);
AttachObjectToVehicle(ExampleObject, vehicleid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ);