The Lab
PLAYER native

_MODIFY_PLAYER_UI_PROMPT

returns void4 paramsbuild 1207

Enables or disables a UI prompt of the given type and mode for player.

Signature

C
void _MODIFY_PLAYER_UI_PROMPT(Player player, int promptType, int promptMode, BOOL disabled); // 0x0751D461F06E41CE b1207

Parameters

#NameType
1playerPlayer
2promptTypeint
3promptModeint
4disabledBOOL

Facts

Facts about _MODIFY_PLAYER_UI_PROMPT
Name
_MODIFY_PLAYER_UI_PROMPT
Hash
0x0751D461F06E41CE
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(0x0751D461F06E41CE, -- _MODIFY_PLAYER_UI_PROMPT
  PlayerId(), -- Player player
  0, -- int promptType
  0, -- int promptMode
  false -- BOOL disabled
)
JavaScript
Citizen.invokeNative("0x0751D461F06E41CE", // _MODIFY_PLAYER_UI_PROMPT
  PlayerId(), // Player player
  0, // int promptType
  0, // int promptMode
  false // BOOL disabled
);
C#
Function.Call((Hash)0x0751D461F06E41CE, // _MODIFY_PLAYER_UI_PROMPT
  API.PlayerId(), // Player player
  0, // int promptType
  0, // int promptMode
  false // BOOL disabled
);
All PLAYER natives

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