# OBJECT::_DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER

- **Hash:** `0xEBA314768FB35D58`
- **Namespace:** OBJECT
- **Runtime name (Lua/JS):** `DoorSystemGetForcedOpenPlayer`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/OBJECT/_DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER

## Signature

```c
Player _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER(Hash doorHash);
```

## Parameters

- `doorHash` (`Hash`)

## Returns

`Player`

## Description

*Source: alloc8or RDR3 NativeDB*

Returns the player who forced the specified door open using a physical interaction such as kicking or shoulder bashing.
Returns 255 if no valid player is associated or the door was not force-opened.
Only works for player-driven forced interactions on door-system registered doors; normal door opening and NPC interactions do not populate this value.

*Source: VORPCORE RDR3natives*

Returns the player who forced the specified door open using physical interaction
(e.g. kicking or shoulder bashing).
If a player breaks or forces the door open, this native returns the Player ID directly.

## Usage

### Lua

```lua
local retval = DoorSystemGetForcedOpenPlayer(doorHash)

-- always available, by hash
local retval = Citizen.InvokeNative(0xEBA314768FB35D58, doorHash, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = DoorSystemGetForcedOpenPlayer(doorHash);

// by hash
const retval = Citizen.invokeNative('0xEBA314768FB35D58', doorHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xEBA314768FB35D58, doorHash);
```

- 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, VORPCORE RDR3natives.*
