The Lab
HUD native

_UI_PROMPT_SET_ALLOWED_ACTION

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Allows an additional control action for prompt.

Signature

C
void _UI_PROMPT_SET_ALLOWED_ACTION(Prompt prompt, Hash action); // 0x565C1CE183CB0EAF b1207

Parameters

#NameType
1promptPrompt
2actionHash

Facts

Facts about _UI_PROMPT_SET_ALLOWED_ACTION
Name
_UI_PROMPT_SET_ALLOWED_ACTION
Hash
0x565C1CE183CB0EAF
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x565C1CE183CB0EAF, -- _UI_PROMPT_SET_ALLOWED_ACTION
  0, -- Prompt prompt
  GetHashKey("name") -- Hash action
)
JavaScript
Citizen.invokeNative("0x565C1CE183CB0EAF", // _UI_PROMPT_SET_ALLOWED_ACTION
  0, // Prompt prompt
  GetHashKey("name") // Hash action
);
C#
Function.Call((Hash)0x565C1CE183CB0EAF, // _UI_PROMPT_SET_ALLOWED_ACTION
  0, // Prompt prompt
  (uint)API.GetHashKey("name") // Hash action
);
All HUD natives

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