_UI_PROMPT_SET_PRIORITY
Sets the display priority of prompt; higher priority prompts are favored when several compete.
Signature
void _UI_PROMPT_SET_PRIORITY(Prompt prompt, int priority); // 0xCA24F528D0D16289 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | prompt | Prompt |
| 2 | priority | int |
Facts
| Name | _UI_PROMPT_SET_PRIORITY |
|---|---|
| Hash | 0xCA24F528D0D16289 |
| 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(0xCA24F528D0D16289, -- _UI_PROMPT_SET_PRIORITY
0, -- Prompt prompt
0 -- int priority
)Citizen.invokeNative("0xCA24F528D0D16289", // _UI_PROMPT_SET_PRIORITY
0, // Prompt prompt
0 // int priority
);Function.Call((Hash)0xCA24F528D0D16289, // _UI_PROMPT_SET_PRIORITY
0, // Prompt prompt
0 // int priority
);Related HUD natives
- _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
- _UI_PROMPT_CLEAR_PROMPT_PRIORITY_PREFERENCE
- _UI_PROMPT_SET_PRESSED_TIMED_MODE
- _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_ENABLED
- _UI_PROMPT_SET_GROUP
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.