_DOOR_SYSTEM_FORCE_SHUT
Forces the registered door to shut.
Signature
void _DOOR_SYSTEM_FORCE_SHUT(Hash doorHash, BOOL p1); // 0x276AAF0F1C7F2494 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | doorHash | Hash |
| 2 | p1 | BOOL |
Facts
| 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.
Citizen.InvokeNative(0x276AAF0F1C7F2494, -- _DOOR_SYSTEM_FORCE_SHUT
GetHashKey("name"), -- Hash doorHash
false -- BOOL p1
)Citizen.invokeNative("0x276AAF0F1C7F2494", // _DOOR_SYSTEM_FORCE_SHUT
GetHashKey("name"), // Hash doorHash
false // BOOL p1
);Function.Call((Hash)0x276AAF0F1C7F2494, // _DOOR_SYSTEM_FORCE_SHUT
(uint)API.GetHashKey("name"), // Hash doorHash
false // BOOL p1
);Related OBJECT natives
- _DOOR_SYSTEM_CHANGE_SCRIPT_OWNER
- _DOOR_SYSTEM_CHECK_ACTION_FLAG
- _DOOR_SYSTEM_CLEAR_FORCED_OPEN_PLAYER
- _DOOR_SYSTEM_GET_AUTOMATIC_RATE
- _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER
- _DOOR_SYSTEM_SET_ABLE_TO_CHANGE_OPEN_RATIO_WHILE_LOCKED
- _DOOR_SYSTEM_SET_AUTOMATIC_STATE
- _DOOR_SYSTEM_SWING_OPEN
- DOOR_SYSTEM_GET_DOOR_STATE
- DOOR_SYSTEM_SET_DOOR_STATE
- _ADD_DOOR_TO_SYSTEM_NEW
- DOOR_SYSTEM_GET_OPEN_RATIO
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.