The Lab
OBJECT native

_IS_DOOR_REGISTERED_WITH_OWNER

returns BOOL1 parambuild 1207

Returns true if the registered door has a script owner.

Signature

C
BOOL _IS_DOOR_REGISTERED_WITH_OWNER(Hash doorHash); // 0x4F89DAD4156BA145 b1207

Parameters

#NameType
1doorHashHash

Facts

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