# HUD::_UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE

- **Hash:** `0x530A428705BE5DEF`
- **Namespace:** HUD
- **Runtime name (Lua/JS):** `UiPromptSetPromptPriorityPreference`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/HUD/_UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE

## Signature

```c
void _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`void`

## Usage

### Lua

```lua
UiPromptSetPromptPriorityPreference(ped)

-- always available, by hash
Citizen.InvokeNative(0x530A428705BE5DEF, ped)
```

### JavaScript

```js
UiPromptSetPromptPriorityPreference(ped);

// by hash
Citizen.invokeNative('0x530A428705BE5DEF', ped);
```

### C#

```csharp
Function.Call((Hash)0x530A428705BE5DEF, ped);
```

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