The Lab
HUD native

_UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME

returns Any6 paramsbuild 1207

Displays the prompt group hash for the current frame with the title name, including tab settings.

Call it every frame while the group should be shown.

Signature

C
Any _UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME(Hash hash, const char* name, int tabAmount, int tabDefaultIndex, int p4, Prompt prompt); // 0xC65A45D4453C2627 b1207

Parameters

#NameType
1hashHash
2nameconst char*
3tabAmountint
4tabDefaultIndexint
5p4int
6promptPrompt

Facts

Facts about _UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME
Name
_UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME
Hash
0xC65A45D4453C2627
Namespace
Returns
Any
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xC65A45D4453C2627, -- _UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME
  GetHashKey("name"), -- Hash hash
  "text", -- const char* name
  0, -- int tabAmount
  0, -- int tabDefaultIndex
  0, -- int p4
  0, -- Prompt prompt
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xC65A45D4453C2627", // _UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME
  GetHashKey("name"), // Hash hash
  "text", // const char* name
  0, // int tabAmount
  0, // int tabDefaultIndex
  0, // int p4
  0, // Prompt prompt
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xC65A45D4453C2627, // _UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME
  (uint)API.GetHashKey("name"), // Hash hash
  "text", // const char* name
  0, // int tabAmount
  0, // int tabDefaultIndex
  0, // int p4
  0 // Prompt prompt
);
All HUD natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.