{"hash":"0x565C1CE183CB0EAF","ns":"HUD","name":"_UI_PROMPT_SET_ALLOWED_ACTION","slug":"_UI_PROMPT_SET_ALLOWED_ACTION","official":false,"named":true,"luaName":"UiPromptSetAllowedAction","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"prompt","type":"Prompt"},{"name":"action","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/HUD/_UI_PROMPT_SET_ALLOWED_ACTION","markdownUrl":"https://natives.borderlinerp.com/natives/HUD/_UI_PROMPT_SET_ALLOWED_ACTION.md","snippets":{"lua":"UiPromptSetAllowedAction(prompt, action)","luaInvoke":"Citizen.InvokeNative(0x565C1CE183CB0EAF, prompt, action)","js":"UiPromptSetAllowedAction(prompt, action);","jsInvoke":"Citizen.invokeNative('0x565C1CE183CB0EAF', prompt, action);","csharp":"Function.Call((Hash)0x565C1CE183CB0EAF, prompt, action);","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."]}}