RedM Natives

_UI_PROMPT_SET_TEXT

Hash0x5DD02A8318420DD7
Runtime nameUiPromptSetText
NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _UI_PROMPT_SET_TEXT(Prompt prompt, const char* text);

Parameters

NameTypeDescription
promptPrompt—
textconst char*—

Returns void

Usage

Lua
UiPromptSetText(prompt, text)

-- always works, by hash
Citizen.InvokeNative(0x5DD02A8318420DD7, prompt, text)
JavaScript and C#
JavaScript
UiPromptSetText(prompt, text);

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