VehicleClient

isThisModelAHeli

IS_THIS_MODEL_A_HELI0xDCE4334788AF94EA

The 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.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
modelHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL IS_THIS_MODEL_A_HELI(Hash model)
Hash
0xDCE4334788AF94EA

Open in the interactive natives reference