The Lab
OBJECT native

_CHECK_DOOR_ACTION_FLAG

returns BOOL2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Returns whether the given action flag is set on a door object. The meaning of individual flags is not documented.

Signature

C
BOOL _CHECK_DOOR_ACTION_FLAG(Object doorObject, int flag); // 0x0943113E02322164 b1207

Parameters

#NameType
1doorObjectObject
2flagint

Facts

Facts about _CHECK_DOOR_ACTION_FLAG
Name
_CHECK_DOOR_ACTION_FLAG
Hash
0x0943113E02322164
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x0943113E02322164, -- _CHECK_DOOR_ACTION_FLAG
  0, -- Object doorObject
  0 -- int flag
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x0943113E02322164", // _CHECK_DOOR_ACTION_FLAG
  0, // Object doorObject
  0, // int flag
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x0943113E02322164, // _CHECK_DOOR_ACTION_FLAG
  0, // Object doorObject
  0 // int flag
);
All OBJECT natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.