_UI_PROMPT_SET_ALLOWED_ACTION
Hash
0x565C1CE183CB0EAFRuntime name
UiPromptSetAllowedActionNamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _UI_PROMPT_SET_ALLOWED_ACTION(Prompt prompt, Hash action);Parameters
| Name | Type | Description |
|---|---|---|
prompt | Prompt | — |
action | Hash | — |
Returns void
Usage
UiPromptSetAllowedAction(prompt, action)
-- always works, by hash
Citizen.InvokeNative(0x565C1CE183CB0EAF, prompt, action)JavaScript and C#
UiPromptSetAllowedAction(prompt, action);
// by hash
Citizen.invokeNative('0x565C1CE183CB0EAF', prompt, action);Function.Call((Hash)0x565C1CE183CB0EAF, prompt, action);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - 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.