getAreBombBayDoorsOpen
GET_ARE_BOMB_BAY_DOORS_OPEN0xD0917A423314BBA8The 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.
getAreBombBayDoorsOpen(aircraft: Vehicle): booleangetAreBombBayDoorsOpen(aircraft: Vehicle): booleanUsage
JavaScript
const result = getAreBombBayDoorsOpen(aircraft);Lua
local result = getAreBombBayDoorsOpen(aircraft)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
aircraft | Vehicle | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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