IS_DOOR_REGISTERED_WITH_SYSTEM
Returns true if the door identified by doorHash is registered with the door system.
Signature
BOOL IS_DOOR_REGISTERED_WITH_SYSTEM(Hash doorHash); // 0xC153C43EA202C8C1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | doorHash | Hash |
Facts
| Name | IS_DOOR_REGISTERED_WITH_SYSTEM |
|---|---|
| Hash | 0xC153C43EA202C8C1 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xC153C43EA202C8C1, -- IS_DOOR_REGISTERED_WITH_SYSTEM
GetHashKey("name") -- Hash doorHash
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xC153C43EA202C8C1", // IS_DOOR_REGISTERED_WITH_SYSTEM
GetHashKey("name"), // Hash doorHash
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xC153C43EA202C8C1, // IS_DOOR_REGISTERED_WITH_SYSTEM
(uint)API.GetHashKey("name") // Hash doorHash
);Related OBJECT natives
- _IS_DOOR_REGISTERED_WITH_NETWORK
- _IS_DOOR_REGISTERED_WITH_OWNER
- DOOR_SYSTEM_GET_DOOR_STATE
- DOOR_SYSTEM_SET_DOOR_STATE
- IS_DOOR_CLOSED
- _ADD_DOOR_TO_SYSTEM_NEW
- _DOOR_SYSTEM_CHANGE_SCRIPT_OWNER
- _DOOR_SYSTEM_CHECK_ACTION_FLAG
- _DOOR_SYSTEM_CLEAR_FORCED_OPEN_PLAYER
- _DOOR_SYSTEM_FORCE_SHUT
- _DOOR_SYSTEM_GET_AUTOMATIC_RATE
- _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.