AttachVehicleOnToTrailer — FiveM Natives
0x16B5E274BDE402F8 · VEHICLE · all
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | Vehicle | The vehicle to attach to the trailer |
| trailer | Vehicle | The trailer to attach the vehicle to |
| offsetX | float | The x offset of the vehicle |
| offsetY | float | The y offset of the vehicle |
| offsetZ | float | The z offset of the vehicle |
| coordsX | float | The x coords of where you want the vehicle placed (must be an offset from the trailer itself) |
| coordsY | float | The y coords of where you want the vehicle placed (must be an offset from the trailer itself) |
| coordsZ | float | The z coords of where you want the vehicle placed (must be an offset from the trailer itself) |
| rotationX | float | The x rotation of where you want the vehicle placed |
| rotationY | float | The y rotation of where you want the vehicle placed |
| rotationZ | float | The z rotation of where you want the vehicle placed |
| disableColls | float | Should actually be a boolean, this will disable the collision between the vehicle you're attaching and the trailer |
Returns
void