_UI_PROMPT_SET_ENABLED
Hash
0x8A0FB4D03A630D21Runtime name
UiPromptSetEnabledNamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _UI_PROMPT_SET_ENABLED(Prompt prompt, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
prompt | Prompt | — |
toggle | BOOL | — |
Returns void
Usage
UiPromptSetEnabled(prompt, toggle)
-- always works, by hash
Citizen.InvokeNative(0x8A0FB4D03A630D21, prompt, toggle)JavaScript and C#
UiPromptSetEnabled(prompt, toggle);
// by hash
Citizen.invokeNative('0x8A0FB4D03A630D21', prompt, toggle);Function.Call((Hash)0x8A0FB4D03A630D21, prompt, toggle);- 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.