VehicleClient

isThisModelAJetski

IS_THIS_MODEL_A_JETSKI0x9537097412CF75FE

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
modelHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Checks if model is a boat, then checks for FLAG_IS_JETSKI.

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL IS_THIS_MODEL_A_JETSKI(Hash model)
Hash
0x9537097412CF75FE
Formerly
_IS_THIS_MODEL_A_SUBMERSIBLE _IS_THIS_MODEL_AN_EMERGENCY_BOAT

Open in the interactive natives reference