isThisModelABoat
IS_THIS_MODEL_A_BOAT0x45A9187928F4B9E3The 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.
isThisModelABoat(model: Hash): booleanisThisModelABoat(model: Hash): booleanUsage
JavaScript
const result = isThisModelABoat(model);Lua
local result = isThisModelABoat(model)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
model | Hash | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL IS_THIS_MODEL_A_BOAT(Hash model)- Hash
0x45A9187928F4B9E3