VehicleClient

getVehicleHasLandingGear

GET_VEHICLE_HAS_LANDING_GEAR0xE43701C36CAFF1A4

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

SignatureJavaScript
getVehicleHasLandingGear(vehicle: Vehicle): boolean
SignatureLua
getVehicleHasLandingGear(vehicle: Vehicle): boolean

Usage

JavaScript
const result = getVehicleHasLandingGear(vehicle);
Lua
local result = getVehicleHasLandingGear(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL GET_VEHICLE_HAS_LANDING_GEAR(Vehicle vehicle)
Hash
0xE43701C36CAFF1A4
Introduced
Game build 1180 legacy numbering
Formerly
_GET_VEHICLE_HAS_LANDING_GEAR _DOES_VEHICLE_HAVE_LANDING_GEAR

Open in the interactive natives reference