The Lab
OBJECT native

IS_DOOR_CLOSED

returns BOOL1 parambuild 1207

Returns true if the registered door is fully closed.

Signature

C
BOOL IS_DOOR_CLOSED(Hash doorHash); // 0xC531EE8A1145A149 b1207

Parameters

#NameType
1doorHashHash

Facts

Facts about IS_DOOR_CLOSED
Name
IS_DOOR_CLOSED
Hash
0xC531EE8A1145A149
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(0xC531EE8A1145A149, -- IS_DOOR_CLOSED
  GetHashKey("name") -- Hash doorHash
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xC531EE8A1145A149", // IS_DOOR_CLOSED
  GetHashKey("name"), // Hash doorHash
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xC531EE8A1145A149, // IS_DOOR_CLOSED
  (uint)API.GetHashKey("name") // Hash doorHash
);
All OBJECT natives

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