RedM Natives

IS_DOOR_REGISTERED_WITH_SYSTEM

Hash0xC153C43EA202C8C1
Runtime nameIsDoorRegisteredWithSystem
NamespaceOBJECT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xC153C43EA202C8C1

Signature

BOOL IS_DOOR_REGISTERED_WITH_SYSTEM(Hash doorHash);

Parameters

NameTypeDescription
doorHashHash—

Returns BOOL

Usage

Lua
local retval = IsDoorRegisteredWithSystem(doorHash)

-- always works, by hash
local retval = Citizen.InvokeNative(0xC153C43EA202C8C1, doorHash, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsDoorRegisteredWithSystem(doorHash);

// by hash
const retval = Citizen.invokeNative('0xC153C43EA202C8C1', doorHash, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xC153C43EA202C8C1, doorHash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.