_DOOR_SYSTEM_CHECK_ACTION_FLAG
Based on its name and signature, here is our best reading:
Returns whether the given action flag is set on a registered door. The meaning of individual flags is not documented.
Signature
BOOL _DOOR_SYSTEM_CHECK_ACTION_FLAG(Hash doorHash, int flag); // 0x6E2AA80BB0C03728 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | doorHash | Hash |
| 2 | flag | int |
Facts
| Name | _DOOR_SYSTEM_CHECK_ACTION_FLAG |
|---|---|
| Hash | 0x6E2AA80BB0C03728 |
| 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(0x6E2AA80BB0C03728, -- _DOOR_SYSTEM_CHECK_ACTION_FLAG
GetHashKey("name"), -- Hash doorHash
0 -- int flag
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x6E2AA80BB0C03728", // _DOOR_SYSTEM_CHECK_ACTION_FLAG
GetHashKey("name"), // Hash doorHash
0, // int flag
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x6E2AA80BB0C03728, // _DOOR_SYSTEM_CHECK_ACTION_FLAG
(uint)API.GetHashKey("name"), // Hash doorHash
0 // int flag
);Related OBJECT natives
- _CHECK_DOOR_ACTION_FLAG
- _DOOR_SYSTEM_CHANGE_SCRIPT_OWNER
- _DOOR_SYSTEM_CLEAR_FORCED_OPEN_PLAYER
- _DOOR_SYSTEM_FORCE_SHUT
- _DOOR_SYSTEM_GET_AUTOMATIC_RATE
- _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER
- _DOOR_SYSTEM_SET_ABLE_TO_CHANGE_OPEN_RATIO_WHILE_LOCKED
- _DOOR_SYSTEM_SET_AUTOMATIC_STATE
- _DOOR_SYSTEM_SWING_OPEN
- DOOR_SYSTEM_GET_DOOR_STATE
- DOOR_SYSTEM_SET_DOOR_STATE
- _ADD_DOOR_TO_SYSTEM_NEW
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.