_DOOR_SYSTEM_FORCE_SHUT
Hash
0x276AAF0F1C7F2494Runtime name
DoorSystemForceShutNamespaceOBJECT
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _DOOR_SYSTEM_FORCE_SHUT(Hash doorHash, BOOL p1);Parameters
| Name | Type | Description |
|---|---|---|
doorHash | Hash | — |
p1 | BOOL | — |
Returns void
Usage
DoorSystemForceShut(doorHash, p1)
-- always works, by hash
Citizen.InvokeNative(0x276AAF0F1C7F2494, doorHash, p1)JavaScript and C#
DoorSystemForceShut(doorHash, p1);
// by hash
Citizen.invokeNative('0x276AAF0F1C7F2494', doorHash, p1);Function.Call((Hash)0x276AAF0F1C7F2494, doorHash, p1);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.