_UI_PROMPT_SET_ATTRIBUTE
Hash
0x560E76D5E2E1803FRuntime name
UiPromptSetAttributeNamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _UI_PROMPT_SET_ATTRIBUTE(Prompt prompt, int attribute, BOOL enabled);Parameters
| Name | Type | Description |
|---|---|---|
prompt | Prompt | — |
attribute | int | — |
enabled | BOOL | — |
Returns void
Description
attribute: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eUIPromptAttribute
Usage
UiPromptSetAttribute(prompt, attribute, enabled)
-- always works, by hash
Citizen.InvokeNative(0x560E76D5E2E1803F, prompt, attribute, enabled)JavaScript and C#
UiPromptSetAttribute(prompt, attribute, enabled);
// by hash
Citizen.invokeNative('0x560E76D5E2E1803F', prompt, attribute, enabled);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
InvokeNativewith the hash — it always works.
Enums and flags
- eUIPromptAttribute 45 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.