isVehicleDoorFullyOpen
IS_VEHICLE_DOOR_FULLY_OPEN0x3E933CFF7B111C22The GTA V native IS_VEHICLE_DOOR_FULLY_OPEN of the VEHICLE namespace, as LS:MP client scripts call it: the global function isVehicleDoorFullyOpen, in JavaScript and in Lua.
isVehicleDoorFullyOpen(vehicle: Vehicle, doorId: number): booleanisVehicleDoorFullyOpen(vehicle: Vehicle, doorId: integer): booleanUsage
JavaScript
const result = isVehicleDoorFullyOpen(vehicle, doorId);Lua
local result = isVehicleDoorFullyOpen(vehicle, doorId)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
vehicle | Vehicle | number | integer | |
doorId | int | number | integer | see setVehicleDoorShut |
Returns
BOOL JavaScript boolean, Lua booleanOn LS:MP
ℹ
Checked by LS:MP
doorId must be between 0 and 6. Otherwise the call is ignored and returns false: nothing reaches the game, and no error is raised.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL IS_VEHICLE_DOOR_FULLY_OPEN(Vehicle vehicle, int doorId)- Hash
0x3E933CFF7B111C22