# HUD::_UI_PROMPT_CONTEXT_SET_VOLUME

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

## Signature

```c
void _UI_PROMPT_CONTEXT_SET_VOLUME(Prompt prompt, Volume volume);
```

## Parameters

- `prompt` (`Prompt`)
- `volume` (`Volume`)

## Returns

`void`

## Description

Attaches a Volume

## Usage

### Lua

```lua
UiPromptContextSetVolume(prompt, volume)

-- always available, by hash
Citizen.InvokeNative(0x4D107406667423BE, prompt, volume)
```

### JavaScript

```js
UiPromptContextSetVolume(prompt, volume);

// by hash
Citizen.invokeNative('0x4D107406667423BE', prompt, volume);
```

### C#

```csharp
Function.Call((Hash)0x4D107406667423BE, prompt, volume);
```

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