VehicleClient

setVehicleTowTruckArmPosition

SET_VEHICLE_TOW_TRUCK_ARM_POSITION0xFE54B92A344583CA

The 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.

SignatureJavaScript
setVehicleTowTruckArmPosition(vehicle: Vehicle, position: number): void
SignatureLua
setVehicleTowTruckArmPosition(vehicle: Vehicle, position: number)

Usage

JavaScript
setVehicleTowTruckArmPosition(vehicle, position);
Lua
setVehicleTowTruckArmPosition(vehicle, position)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
positionfloatnumbernumber

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

Open in the interactive natives reference