RedM Natives

_UI_PROMPT_SET_ATTRIBUTE

Hash0x560E76D5E2E1803F
Runtime nameUiPromptSetAttribute
NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _UI_PROMPT_SET_ATTRIBUTE(Prompt prompt, int attribute, BOOL enabled);

Parameters

NameTypeDescription
promptPrompt—
attributeint—
enabledBOOL—

Returns void

Description

attribute: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eUIPromptAttribute

Usage

Lua
UiPromptSetAttribute(prompt, attribute, enabled)

-- always works, by hash
Citizen.InvokeNative(0x560E76D5E2E1803F, prompt, attribute, enabled)
JavaScript and C#
JavaScript
UiPromptSetAttribute(prompt, attribute, enabled);

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