VehicleClient

isThisModelABoat

IS_THIS_MODEL_A_BOAT0x45A9187928F4B9E3

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

SignatureJavaScript
isThisModelABoat(model: Hash): boolean
SignatureLua
isThisModelABoat(model: Hash): boolean

Usage

JavaScript
const result = isThisModelABoat(model);
Lua
local result = isThisModelABoat(model)

Parameters

ParameterTypeJavaScriptLua
modelHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL IS_THIS_MODEL_A_BOAT(Hash model)
Hash
0x45A9187928F4B9E3

Open in the interactive natives reference