RedM Natives

_UI_PROMPT_CONTEXT_SET_VOLUME

Attaches a Volume

Hash0x4D107406667423BE
Runtime nameUiPromptContextSetVolume
NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _UI_PROMPT_CONTEXT_SET_VOLUME(Prompt prompt, Volume volume);

Parameters

NameTypeDescription
promptPrompt—
volumeVolume—

Returns void

Description

Attaches a Volume

Usage

Lua
UiPromptContextSetVolume(prompt, volume)

-- always works, by hash
Citizen.InvokeNative(0x4D107406667423BE, prompt, volume)
JavaScript and C#
JavaScript
UiPromptContextSetVolume(prompt, volume);

// by hash
Citizen.invokeNative('0x4D107406667423BE', prompt, volume);
C#
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

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.