RedM Natives

_MODIFY_PLAYER_UI_PROMPT

promptType is mostly 34 (PP_TRACK_ANIMAL), promptMode = 0 (PP_MODE_BLOCK) in R* Scripts

Hash0x0751D461F06E41CE
Runtime nameModifyPlayerUiPrompt
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _MODIFY_PLAYER_UI_PROMPT(Player player, int promptType, int promptMode, BOOL disabled);

Parameters

NameTypeDescription
playerPlayer—
promptTypeint—
promptModeint—
disabledBOOL—

Returns void

Description

Params: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePromptType
promptType is mostly 34 (PP_TRACK_ANIMAL), promptMode = 0 (PP_MODE_BLOCK) in R* Scripts

Usage

Lua
ModifyPlayerUiPrompt(player, promptType, promptMode, disabled)

-- always works, by hash
Citizen.InvokeNative(0x0751D461F06E41CE, player, promptType, promptMode, disabled)
JavaScript and C#
JavaScript
ModifyPlayerUiPrompt(player, promptType, promptMode, disabled);

// by hash
Citizen.invokeNative('0x0751D461F06E41CE', player, promptType, promptMode, disabled);
C#
Function.Call((Hash)0x0751D461F06E41CE, player, promptType, promptMode, disabled);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Enums and flags

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.