RedM Natives

_UI_PROMPT_SET_PRIORITY

Hash0xCA24F528D0D16289
Runtime nameUiPromptSetPriority
NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _UI_PROMPT_SET_PRIORITY(Prompt prompt, int priority);

Parameters

NameTypeDescription
promptPrompt—
priorityint—

Returns void

Description

priority: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePromptPriority

Usage

Lua
UiPromptSetPriority(prompt, priority)

-- always works, by hash
Citizen.InvokeNative(0xCA24F528D0D16289, prompt, priority)
JavaScript and C#
JavaScript
UiPromptSetPriority(prompt, priority);

// by hash
Citizen.invokeNative('0xCA24F528D0D16289', prompt, priority);
C#
Function.Call((Hash)0xCA24F528D0D16289, prompt, priority);
  • 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.

Enums and flags

Sources

alloc8or RDR3 NativeDB

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