_UI_PROMPT_SET_ENABLED
Enables or disables prompt depending on toggle. A disabled prompt is shown grayed out and cannot be triggered.
Signature
void _UI_PROMPT_SET_ENABLED(Prompt prompt, BOOL toggle); // 0x8A0FB4D03A630D21 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | prompt | Prompt |
| 2 | toggle | BOOL |
Facts
| 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.
Citizen.InvokeNative(0x8A0FB4D03A630D21, -- _UI_PROMPT_SET_ENABLED
0, -- Prompt prompt
false -- BOOL toggle
)Citizen.invokeNative("0x8A0FB4D03A630D21", // _UI_PROMPT_SET_ENABLED
0, // Prompt prompt
false // BOOL toggle
);Function.Call((Hash)0x8A0FB4D03A630D21, // _UI_PROMPT_SET_ENABLED
0, // Prompt prompt
false // BOOL toggle
);Related HUD natives
- _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
- _UI_PROMPT_SET_URGENT_PULSING_ENABLED
- _UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME
- _UI_PROMPT_SET_ALLOWED_ACTION
- _UI_PROMPT_SET_AMBIENT_GROUP_THIS_FRAME
- _UI_PROMPT_SET_ATTRIBUTE
- _UI_PROMPT_SET_BEAT_MODE
- _UI_PROMPT_SET_BEAT_MODE_GRAYED_OUT
- _UI_PROMPT_SET_CONTROL_ACTION
- _UI_PROMPT_SET_GROUP
- _UI_PROMPT_SET_HOLD_AUTO_FILL_MODE
- _UI_PROMPT_SET_HOLD_AUTO_FILL_WITH_DECAY_MODE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.