The Lab
OBJECT native

_DOOR_SYSTEM_FORCE_SHUT

returns void2 paramsbuild 1207

Forces the registered door to shut.

Signature

C
void _DOOR_SYSTEM_FORCE_SHUT(Hash doorHash, BOOL p1); // 0x276AAF0F1C7F2494 b1207

Parameters

#NameType
1doorHashHash
2p1BOOL

Facts

Facts about _DOOR_SYSTEM_FORCE_SHUT
Name
_DOOR_SYSTEM_FORCE_SHUT
Hash
0x276AAF0F1C7F2494
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(0x276AAF0F1C7F2494, -- _DOOR_SYSTEM_FORCE_SHUT
  GetHashKey("name"), -- Hash doorHash
  false -- BOOL p1
)
JavaScript
Citizen.invokeNative("0x276AAF0F1C7F2494", // _DOOR_SYSTEM_FORCE_SHUT
  GetHashKey("name"), // Hash doorHash
  false // BOOL p1
);
C#
Function.Call((Hash)0x276AAF0F1C7F2494, // _DOOR_SYSTEM_FORCE_SHUT
  (uint)API.GetHashKey("name"), // Hash doorHash
  false // BOOL p1
);
All OBJECT natives

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