isThisModelAHeli
IS_THIS_MODEL_A_HELI0xDCE4334788AF94EAThe GTA V native IS_THIS_MODEL_A_HELI of the VEHICLE namespace, as LS:MP client scripts call it: the global function isThisModelAHeli, in JavaScript and in Lua.
isThisModelAHeli(model: Hash): booleanisThisModelAHeli(model: Hash): booleanUsage
JavaScript
const result = isThisModelAHeli(model);Lua
local result = isThisModelAHeli(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_HELI(Hash model)- Hash
0xDCE4334788AF94EA