ObjectClient

doorSystemGetDoorPendingState

DOOR_SYSTEM_GET_DOOR_PENDING_STATE0x4BC2854478F3A749

The 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.

SignatureJavaScript
doorSystemGetDoorPendingState(doorHash: Hash): number
SignatureLua
doorSystemGetDoorPendingState(doorHash: Hash): integer

Usage

JavaScript
const result = doorSystemGetDoorPendingState(doorHash);
Lua
local result = doorSystemGetDoorPendingState(doorHash)

Parameters

ParameterTypeJavaScriptLua
doorHashHashnumberinteger

Returns

int JavaScript number, Lua integer

Reference

Namespace
Object OBJECT
In the game
int DOOR_SYSTEM_GET_DOOR_PENDING_STATE(Hash doorHash)
Hash
0x4BC2854478F3A749

Open in the interactive natives reference