IS_DOOR_REGISTERED_WITH_SYSTEM
Hash
0xC153C43EA202C8C1Runtime name
IsDoorRegisteredWithSystemNamespaceOBJECT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xC153C43EA202C8C1Signature
BOOL IS_DOOR_REGISTERED_WITH_SYSTEM(Hash doorHash);Parameters
| Name | Type | Description |
|---|---|---|
doorHash | Hash | — |
Returns BOOL
Usage
local retval = IsDoorRegisteredWithSystem(doorHash)
-- always works, by hash
local retval = Citizen.InvokeNative(0xC153C43EA202C8C1, doorHash, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsDoorRegisteredWithSystem(doorHash);
// by hash
const retval = Citizen.invokeNative('0xC153C43EA202C8C1', doorHash, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xC153C43EA202C8C1, doorHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.