ObjectClient

isDoorRegisteredWithSystem

IS_DOOR_REGISTERED_WITH_SYSTEM0xC153C43EA202C8C1

The GTA V native IS_DOOR_REGISTERED_WITH_SYSTEM of the OBJECT namespace, as LS:MP client scripts call it: the global function isDoorRegisteredWithSystem, in JavaScript and in Lua.

SignatureJavaScript
isDoorRegisteredWithSystem(doorHash: Hash): boolean
SignatureLua
isDoorRegisteredWithSystem(doorHash: Hash): boolean

Usage

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

Parameters

ParameterTypeJavaScriptLua
doorHashHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

if (isDoorRegisteredWithSystem(doorHash))
{
    removeDoorFromSystem(doorHash);
}

Reference

Namespace
Object OBJECT
In the game
BOOL IS_DOOR_REGISTERED_WITH_SYSTEM(Hash doorHash)
Hash
0xC153C43EA202C8C1
Formerly
_DOES_DOOR_EXIST

Open in the interactive natives reference