VehicleClient

setBoatLowLodAnchorDistance

SET_BOAT_LOW_LOD_ANCHOR_DISTANCE0xE842A9398079BD82

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

SignatureJavaScript
setBoatLowLodAnchorDistance(vehicle: Vehicle, value: number): void
SignatureLua
setBoatLowLodAnchorDistance(vehicle: Vehicle, value: number)

Usage

JavaScript
setBoatLowLodAnchorDistance(vehicle, value);
Lua
setBoatLowLodAnchorDistance(vehicle, value)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
valuefloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_BOAT_LOW_LOD_ANCHOR_DISTANCE(Vehicle vehicle, float value)
Hash
0xE842A9398079BD82
Formerly
_SET_BOAT_ANCHOR_BUOYANCY_COEFFICIENT _SET_BOAT_MOVEMENT_RESISTANCE

Open in the interactive natives reference