_MODIFY_PLAYER_UI_PROMPT
promptType is mostly 34 (PP_TRACK_ANIMAL), promptMode = 0 (PP_MODE_BLOCK) in R* Scripts
Hash
0x0751D461F06E41CERuntime name
ModifyPlayerUiPromptNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _MODIFY_PLAYER_UI_PROMPT(Player player, int promptType, int promptMode, BOOL disabled);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
promptType | int | — |
promptMode | int | — |
disabled | BOOL | — |
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
ModifyPlayerUiPrompt(player, promptType, promptMode, disabled)
-- always works, by hash
Citizen.InvokeNative(0x0751D461F06E41CE, player, promptType, promptMode, disabled)JavaScript and C#
ModifyPlayerUiPrompt(player, promptType, promptMode, disabled);
// by hash
Citizen.invokeNative('0x0751D461F06E41CE', player, promptType, promptMode, disabled);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
InvokeNativewith the hash — it always works.
Enums and flags
- ePromptType 67 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.