VehicleClient

setVehicleBulldozerArmPosition

SET_VEHICLE_BULLDOZER_ARM_POSITION0xF8EBCCC96ADB9FB7

The GTA V native SET_VEHICLE_BULLDOZER_ARM_POSITION of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleBulldozerArmPosition, in JavaScript and in Lua.

SignatureJavaScript
setVehicleBulldozerArmPosition(
  vehicle: Vehicle,
  position: number,
  p2: boolean
): void
SignatureLua
setVehicleBulldozerArmPosition(
  vehicle: Vehicle,
  position: number,
  p2: boolean
)

Usage

JavaScript
setVehicleBulldozerArmPosition(vehicle, position, p2);
Lua
setVehicleBulldozerArmPosition(vehicle, position, p2)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
positionfloatnumbernumber
p2BOOLbooleanboolean

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 the arm position of a bulldozer. Position must be a value between 0.0 and 1.0. Ignored when p2 is set to false, instead incrementing arm position by 0.1 (or 10%).

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_VEHICLE_BULLDOZER_ARM_POSITION(Vehicle vehicle, float position, BOOL p2)
Hash
0xF8EBCCC96ADB9FB7

Open in the interactive natives reference