doorSystemGetDoorPendingState
DOOR_SYSTEM_GET_DOOR_PENDING_STATE0x4BC2854478F3A749The GTA V native DOOR_SYSTEM_GET_DOOR_PENDING_STATE of the OBJECT namespace, as LS:MP client scripts call it: the global function doorSystemGetDoorPendingState, in JavaScript and in Lua.
doorSystemGetDoorPendingState(doorHash: Hash): numberdoorSystemGetDoorPendingState(doorHash: Hash): integerUsage
JavaScript
const result = doorSystemGetDoorPendingState(doorHash);Lua
local result = doorSystemGetDoorPendingState(doorHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
doorHash | Hash | number | integer |
Returns
int JavaScript number, Lua integerReference
- Namespace
- Object OBJECT
- In the game
int DOOR_SYSTEM_GET_DOOR_PENDING_STATE(Hash doorHash)- Hash
0x4BC2854478F3A749