The Lab
HUD native

_UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE

returns void1 parambuild 1207

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

Sets ped as the preferred target when prompt priority is resolved.

Signature

C
void _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE(Ped ped); // 0x530A428705BE5DEF b1207

Parameters

#NameType
1pedPed

Facts

Facts about _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
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.

Lua
Citizen.InvokeNative(0x530A428705BE5DEF, -- _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
  PlayerPedId() -- Ped ped
)
JavaScript
Citizen.invokeNative("0x530A428705BE5DEF", // _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
  PlayerPedId() // Ped ped
);
C#
Function.Call((Hash)0x530A428705BE5DEF, // _UI_PROMPT_SET_PROMPT_PRIORITY_PREFERENCE
  API.PlayerPedId() // Ped ped
);
All HUD natives

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