_ARE_BOMB_BAY_DOORS_OPEN
// AreBombBayDoorsOpen
BOOL _ARE_BOMB_BAY_DOORS_OPEN(Vehicle aircraft);
Returns: A bool indicating the state of the doors (true = open, false = closed).
Returns true when the bomb bay doors of this plane are open. False if they're closed.
Old name: _GET_ARE_BOMB_BAY_DOORS_OPEN
Examples:
local vehicle = GetVehiclePedIsIn(PlayerPedId(), false)
if AreBombBayDoorsOpen(vehicle) then
print("The doors are open!")
else
print("The doors are closed!")
end