AttachVehicleToCargobob — FiveM Natives
0x4127F1D84E347769 · VEHICLE · all
Parameters
| Name | Type | Description |
|---|---|---|
| cargobob | Vehicle | The cargobob |
| vehicle | Vehicle | The vehicle that will be attached |
| vehicleBoneIndex | int | A Vehicle bone the hook/magnet should attach to or -1 for none/default [GET_ENTITY_BONE_INDEX_BY_NAME](#\_0xFB71170B7E76ACBA) |
| x | float | x hook/magnet Offset |
| y | float | y hook/magnet Offset |
| z | float | z hook/magnet Offset |
Returns
void