# PLAYER::_GET_PLAYER_UI_PROMPT_FOR_PED_IS_ENABLED

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

## Signature

```c
BOOL _GET_PLAYER_UI_PROMPT_FOR_PED_IS_ENABLED(Player player, Ped ped, int promptType, int promptMode);
```

## Parameters

- `player` (`Player`)
- `ped` (`Ped`)
- `promptType` (`int`)
- `promptMode` (`int`)

## Returns

`BOOL`

## Description

Returns true if PromptType is enabled for ped (mount)
Params: See 0x0751D461F06E41CE

## Usage

### Lua

```lua
local retval = GetPlayerUiPromptForPedIsEnabled(player, ped, promptType, promptMode)

-- always available, by hash
local retval = Citizen.InvokeNative(0xEA8F168A76A0B9BC, player, ped, promptType, promptMode, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = GetPlayerUiPromptForPedIsEnabled(player, ped, promptType, promptMode);

// by hash
const retval = Citizen.invokeNative('0xEA8F168A76A0B9BC', player, ped, promptType, promptMode, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xEA8F168A76A0B9BC, player, ped, promptType, promptMode);
```

- 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.*
