setVehicleTowTruckArmPosition
SET_VEHICLE_TOW_TRUCK_ARM_POSITION0xFE54B92A344583CAThe GTA V native SET_VEHICLE_TOW_TRUCK_ARM_POSITION of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleTowTruckArmPosition, in JavaScript and in Lua.
setVehicleTowTruckArmPosition(vehicle: Vehicle, position: number): voidsetVehicleTowTruckArmPosition(vehicle: Vehicle, position: number)Usage
JavaScript
setVehicleTowTruckArmPosition(vehicle, position);Lua
setVehicleTowTruckArmPosition(vehicle, position)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
position | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Sets how much the crane on the tow truck is raised, where 0.0 is fully lowered and 1.0 is fully raised.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_VEHICLE_TOW_TRUCK_ARM_POSITION(Vehicle vehicle, float position)- Hash
0xFE54B92A344583CA- Formerly
_SET_TOW_TRUCK_CRANE_RAISED_SET_TOW_TRUCK_CRANE_HEIGHT