isDoorRegisteredWithSystem
IS_DOOR_REGISTERED_WITH_SYSTEM0xC153C43EA202C8C1The 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.
isDoorRegisteredWithSystem(doorHash: Hash): booleanisDoorRegisteredWithSystem(doorHash: Hash): booleanUsage
JavaScript
const result = isDoorRegisteredWithSystem(doorHash);Lua
local result = isDoorRegisteredWithSystem(doorHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
doorHash | Hash | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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