{"hash":"0xC65A45D4453C2627","ns":"HUD","name":"_UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME","slug":"_UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME","official":false,"named":true,"luaName":"UiPromptSetActiveGroupThisFrame","game":"rdr3","apiset":"client","returnType":"Any","params":[{"name":"hash","type":"Hash"},{"name":"name","type":"const char*"},{"name":"tabAmount","type":"int"},{"name":"tabDefaultIndex","type":"int"},{"name":"p4","type":"int"},{"name":"prompt","type":"Prompt"}],"summary":"p3 if is set > 3 you can no longer press Q to change tab if there are more than one tab set in tabAmount","descriptions":[{"source":"alloc8or","format":"text","body":"Note: you must use VAR_STRING for p1 if string is not part of text database\ntabAmount: specifies number of tabs in prompt group\ntabDefaultIndex: specifies starting index\np3 if is set > 3 you can no longer press Q to change tab if there are more than one tab set in tabAmount"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/HUD/_UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME","markdownUrl":"https://natives.borderlinerp.com/natives/HUD/_UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME.md","snippets":{"lua":"local retval = UiPromptSetActiveGroupThisFrame(hash, name, tabAmount, tabDefaultIndex, p4, prompt)","luaInvoke":"local retval = Citizen.InvokeNative(0xC65A45D4453C2627, hash, name, tabAmount, tabDefaultIndex, p4, prompt, Citizen.ResultAsInteger())","js":"const retval = UiPromptSetActiveGroupThisFrame(hash, name, tabAmount, tabDefaultIndex, p4, prompt);","jsInvoke":"const retval = Citizen.invokeNative('0xC65A45D4453C2627', hash, name, tabAmount, tabDefaultIndex, p4, prompt, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xC65A45D4453C2627, hash, name, tabAmount, tabDefaultIndex, p4, prompt);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"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 `InvokeNative` with the hash — it always works."]}}