_DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER
Returns the player who forced the registered door open, if any.
Signature
Player _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER(Hash doorHash); // 0xEBA314768FB35D58 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | doorHash | Hash |
Facts
| Name | _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER |
|---|---|
| Hash | 0xEBA314768FB35D58 |
| Namespace | |
| Returns | Player |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local player = Citizen.InvokeNative(0xEBA314768FB35D58, -- _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER
GetHashKey("name"), -- Hash doorHash
Citizen.ResultAsInteger()
)
print(player)const player = Citizen.invokeNative("0xEBA314768FB35D58", // _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER
GetHashKey("name"), // Hash doorHash
Citizen.resultAsInteger()
);
console.log(player)int player = Function.Call<int>((Hash)0xEBA314768FB35D58, // _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER
(uint)API.GetHashKey("name") // Hash doorHash
);Related OBJECT natives
- _DOOR_SYSTEM_CLEAR_FORCED_OPEN_PLAYER
- _DOOR_SYSTEM_GET_AUTOMATIC_RATE
- _DOOR_SYSTEM_SET_ABLE_TO_CHANGE_OPEN_RATIO_WHILE_LOCKED
- _DOOR_SYSTEM_SWING_OPEN
- DOOR_SYSTEM_GET_DOOR_STATE
- DOOR_SYSTEM_GET_OPEN_RATIO
- _DOOR_SYSTEM_CHANGE_SCRIPT_OWNER
- _DOOR_SYSTEM_CHECK_ACTION_FLAG
- _DOOR_SYSTEM_FORCE_SHUT
- _DOOR_SYSTEM_SET_AUTOMATIC_STATE
- DOOR_SYSTEM_SET_DOOR_STATE
- DOOR_SYSTEM_SET_OPEN_RATIO
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.