VehicleClient

getAreBombBayDoorsOpen

GET_ARE_BOMB_BAY_DOORS_OPEN0xD0917A423314BBA8

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

SignatureJavaScript
getAreBombBayDoorsOpen(aircraft: Vehicle): boolean
SignatureLua
getAreBombBayDoorsOpen(aircraft: Vehicle): boolean

Usage

JavaScript
const result = getAreBombBayDoorsOpen(aircraft);
Lua
local result = getAreBombBayDoorsOpen(aircraft)

Parameters

ParameterTypeJavaScriptLua
aircraftVehiclenumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Returns true when the bomb bay doors of this plane are open. False if they're closed.

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL GET_ARE_BOMB_BAY_DOORS_OPEN(Vehicle aircraft)
Hash
0xD0917A423314BBA8
Introduced
Game build 1180 legacy numbering
Formerly
_GET_ARE_BOMB_BAY_DOORS_OPEN _ARE_BOMB_BAY_DOORS_OPEN

Open in the interactive natives reference