Skip to main content

Vehicle::attachToTowTruck

HookOffset defines where the hook is attached. leave at 0 for default attachment.

Syntax

```js vehicle.attachToTowTruck(vehicle, rear, hookOffsetX, hookOffsetY, hookOffsetZ); ```

Required Arguments

  • vehicle: Vehicle handle or object
  • rear: Boolean
  • hookOffsetX: float
  • hookOffsetY: float
  • hookOffsetZ: float

Return value

  • Undefined

Example

```js // todo ```

See also