The Lab
OBJECT native

_ADD_DOOR_TO_SYSTEM_NEW

returns void7 paramsbuild 1207

Registers the door identified by doorHash with the door system so scripts can control its state.

Register the door before setting its state, and remove it with REMOVE_DOOR_FROM_SYSTEM when done.

Signature

C
void _ADD_DOOR_TO_SYSTEM_NEW(Hash doorHash, BOOL p1, BOOL p2, BOOL p3, int threadId, int p5, BOOL p6); // 0xD99229FE93B46286 b1207

Parameters

#NameType
1doorHashHash
2p1BOOL
3p2BOOL
4p3BOOL
5threadIdint
6p5int
7p6BOOL

Facts

Facts about _ADD_DOOR_TO_SYSTEM_NEW
Name
_ADD_DOOR_TO_SYSTEM_NEW
Hash
0xD99229FE93B46286
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(0xD99229FE93B46286, -- _ADD_DOOR_TO_SYSTEM_NEW
  GetHashKey("name"), -- Hash doorHash
  false, -- BOOL p1
  false, -- BOOL p2
  false, -- BOOL p3
  0, -- int threadId
  0, -- int p5
  false -- BOOL p6
)
JavaScript
Citizen.invokeNative("0xD99229FE93B46286", // _ADD_DOOR_TO_SYSTEM_NEW
  GetHashKey("name"), // Hash doorHash
  false, // BOOL p1
  false, // BOOL p2
  false, // BOOL p3
  0, // int threadId
  0, // int p5
  false // BOOL p6
);
C#
Function.Call((Hash)0xD99229FE93B46286, // _ADD_DOOR_TO_SYSTEM_NEW
  (uint)API.GetHashKey("name"), // Hash doorHash
  false, // BOOL p1
  false, // BOOL p2
  false, // BOOL p3
  0, // int threadId
  0, // int p5
  false // BOOL p6
);
All OBJECT natives

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