The Lab
HUD native

_UI_PROMPT_CONTEXT_SET_VOLUME

returns void2 paramsbuild 1207

Restricts prompt so it only appears while the player is inside volume.

Signature

C
void _UI_PROMPT_CONTEXT_SET_VOLUME(Prompt prompt, Volume volume); // 0x4D107406667423BE b1207

Parameters

#NameType
1promptPrompt
2volumeVolume

Facts

Facts about _UI_PROMPT_CONTEXT_SET_VOLUME
Name
_UI_PROMPT_CONTEXT_SET_VOLUME
Hash
0x4D107406667423BE
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x4D107406667423BE, -- _UI_PROMPT_CONTEXT_SET_VOLUME
  0, -- Prompt prompt
  0 -- Volume volume
)
JavaScript
Citizen.invokeNative("0x4D107406667423BE", // _UI_PROMPT_CONTEXT_SET_VOLUME
  0, // Prompt prompt
  0 // Volume volume
);
C#
Function.Call((Hash)0x4D107406667423BE, // _UI_PROMPT_CONTEXT_SET_VOLUME
  0, // Prompt prompt
  0 // Volume volume
);
All HUD natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.