VehicleClient

isThisModelAPlane

IS_THIS_MODEL_A_PLANE0xA0948AB42D7BA0DE

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
modelHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL IS_THIS_MODEL_A_PLANE(Hash model)
Hash
0xA0948AB42D7BA0DE

Open in the interactive natives reference