RedM Natives

_UI_PROMPT_SET_GROUP

Hash0x2F11D3A254169EA4
Runtime nameUiPromptSetGroup
NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _UI_PROMPT_SET_GROUP(Prompt prompt, int groupId, int tabIndex);

Parameters

NameTypeDescription
promptPrompt—
groupIdint—
tabIndexint—

Returns void

Description

tabIndex: specifies tab of prompt

Usage

Lua
UiPromptSetGroup(prompt, groupId, tabIndex)

-- always works, by hash
Citizen.InvokeNative(0x2F11D3A254169EA4, prompt, groupId, tabIndex)
JavaScript and C#
JavaScript
UiPromptSetGroup(prompt, groupId, tabIndex);

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