VehicleClient

getBoatBoomPositionRatio

GET_BOAT_BOOM_POSITION_RATIO0x6636C535F6CC2725

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

SignatureJavaScript
getBoatBoomPositionRatio(vehicle: Vehicle): number
SignatureLua
getBoatBoomPositionRatio(vehicle: Vehicle): number

Usage

JavaScript
const value = getBoatBoomPositionRatio(vehicle);
Lua
local value = getBoatBoomPositionRatio(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

float JavaScript number, Lua number

Reference

Namespace
Vehicle VEHICLE
In the game
float GET_BOAT_BOOM_POSITION_RATIO(Vehicle vehicle)
Hash
0x6636C535F6CC2725

Open in the interactive natives reference