doorSystemGetDoorState
DOOR_SYSTEM_GET_DOOR_STATE0x160AA1B32F6139B8The GTA V native DOOR_SYSTEM_GET_DOOR_STATE of the OBJECT namespace, as LS:MP client scripts call it: the global function doorSystemGetDoorState, in JavaScript and in Lua.
doorSystemGetDoorState(doorHash: Hash): numberdoorSystemGetDoorState(doorHash: Hash): integerUsage
JavaScript
const result = doorSystemGetDoorState(doorHash);Lua
local result = doorSystemGetDoorState(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_STATE(Hash doorHash)- Hash
0x160AA1B32F6139B8