The Lab
PLAYER native

_MODIFY_PLAYER_UI_PROMPT_FOR_PED

returns void5 paramsbuild 1207

Enables or disables a UI prompt of the given type and mode for player when interacting with ped.

Signature

C
void _MODIFY_PLAYER_UI_PROMPT_FOR_PED(Player player, Ped ped, int promptType, int promptMode, BOOL enabled); // 0xA3DB37EDF9A74635 b1207

Parameters

#NameType
1playerPlayer
2pedPed
3promptTypeint
4promptModeint
5enabledBOOL

Facts

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

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