VehicleClient

getIsBoatCapsized

GET_IS_BOAT_CAPSIZED0xBA91D045575699AD

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

SignatureJavaScript
getIsBoatCapsized(vehicle: Vehicle): boolean
SignatureLua
getIsBoatCapsized(vehicle: Vehicle): boolean

Usage

JavaScript
const result = getIsBoatCapsized(vehicle);
Lua
local result = getIsBoatCapsized(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL GET_IS_BOAT_CAPSIZED(Vehicle vehicle)
Hash
0xBA91D045575699AD
Introduced
Game build 877 legacy numbering

Open in the interactive natives reference