RedM Natives

_UI_PROMPT_SET_TYPE

Hash0xF4A5C4509BF923B1
Runtime nameUiPromptSetType
NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _UI_PROMPT_SET_TYPE(Prompt prompt, int type);

Parameters

NameTypeDescription
promptPrompt—
typeint—

Returns void

Description

Params: type = mostly 0, 6 (net_mission_intro_story_gvo), 7 (fm_mission_controller), 14 (net_ugc_end_flow_transition_online), 15 (net_main_[tlg_]offline)

Usage

Lua
UiPromptSetType(prompt, type)

-- always works, by hash
Citizen.InvokeNative(0xF4A5C4509BF923B1, prompt, type)
JavaScript and C#
JavaScript
UiPromptSetType(prompt, type);

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