RedM Natives

_DOOR_SYSTEM_FORCE_SHUT

Hash0x276AAF0F1C7F2494
Runtime nameDoorSystemForceShut
NamespaceOBJECT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _DOOR_SYSTEM_FORCE_SHUT(Hash doorHash, BOOL p1);

Parameters

NameTypeDescription
doorHashHash—
p1BOOL—

Returns void

Usage

Lua
DoorSystemForceShut(doorHash, p1)

-- always works, by hash
Citizen.InvokeNative(0x276AAF0F1C7F2494, doorHash, p1)
JavaScript and C#
JavaScript
DoorSystemForceShut(doorHash, p1);

// by hash
Citizen.invokeNative('0x276AAF0F1C7F2494', doorHash, p1);
C#
Function.Call((Hash)0x276AAF0F1C7F2494, doorHash, p1);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.