Vehicle::attachToTowTruck: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 15: Line 15:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Vehicle_function_c}}
{{Vehicle_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 17:22, 1 May 2024

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

Syntax

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

// todo

See also