_UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
Based on its name and signature, here is our best reading:
Sets ped as the preferred target when prompt priority is resolved.
Signature
void _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE(Ped ped); // 0x530A428705BE5DEF b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE |
|---|---|
| Hash | 0x530A428705BE5DEF |
| 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(0x530A428705BE5DEF, -- _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
PlayerPedId() -- Ped ped
)Citizen.invokeNative("0x530A428705BE5DEF", // _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
PlayerPedId() // Ped ped
);Function.Call((Hash)0x530A428705BE5DEF, // _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
API.PlayerPedId() // Ped ped
);Related HUD natives
- _UI_PROMPT_CLEAR_PROMPT_PRIORITY_PREFERENCE
- _UI_PROMPT_SET_PRIORITY
- _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.