The Lab
OBJECT native

_DOOR_SYSTEM_CHANGE_SCRIPT_OWNER

returns void1 parambuild 1207

Transfers ownership of a registered door to the calling script.

Signature

C
void _DOOR_SYSTEM_CHANGE_SCRIPT_OWNER(Hash doorHash); // 0x985767F5FA45BC44 b1207

Parameters

#NameType
1doorHashHash

Facts

Facts about _DOOR_SYSTEM_CHANGE_SCRIPT_OWNER
Name
_DOOR_SYSTEM_CHANGE_SCRIPT_OWNER
Hash
0x985767F5FA45BC44
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x985767F5FA45BC44, -- _DOOR_SYSTEM_CHANGE_SCRIPT_OWNER
  GetHashKey("name") -- Hash doorHash
)
JavaScript
Citizen.invokeNative("0x985767F5FA45BC44", // _DOOR_SYSTEM_CHANGE_SCRIPT_OWNER
  GetHashKey("name") // Hash doorHash
);
C#
Function.Call((Hash)0x985767F5FA45BC44, // _DOOR_SYSTEM_CHANGE_SCRIPT_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.