The Lab
HUD native

_UI_PROMPT_SET_ENABLED

returns void2 paramsbuild 1207

Enables or disables prompt depending on toggle. A disabled prompt is shown grayed out and cannot be triggered.

Signature

C
void _UI_PROMPT_SET_ENABLED(Prompt prompt, BOOL toggle); // 0x8A0FB4D03A630D21 b1207

Parameters

#NameType
1promptPrompt
2toggleBOOL

Facts

Facts about _UI_PROMPT_SET_ENABLED
Name
_UI_PROMPT_SET_ENABLED
Hash
0x8A0FB4D03A630D21
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(0x8A0FB4D03A630D21, -- _UI_PROMPT_SET_ENABLED
  0, -- Prompt prompt
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x8A0FB4D03A630D21", // _UI_PROMPT_SET_ENABLED
  0, // Prompt prompt
  false // BOOL toggle
);
C#
Function.Call((Hash)0x8A0FB4D03A630D21, // _UI_PROMPT_SET_ENABLED
  0, // Prompt prompt
  false // BOOL toggle
);
All HUD natives

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