The Lab
PLAYER native

_SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME

returns void4 paramsbuild 1207

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

Shows a cooperation prompt for player toward targetPed for the current frame.

Signature

C
void _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME(Player player, Ped targetPed, int promptOrder, BOOL unknownFlag); // 0xCBB54CC7FFFFAB86 b1207

Parameters

#NameType
1playerPlayer
2targetPedPed
3promptOrderint
4unknownFlagBOOL

Facts

Facts about _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
Name
_SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
Hash
0xCBB54CC7FFFFAB86
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(0xCBB54CC7FFFFAB86, -- _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
  PlayerId(), -- Player player
  PlayerPedId(), -- Ped targetPed
  0, -- int promptOrder
  false -- BOOL unknownFlag
)
JavaScript
Citizen.invokeNative("0xCBB54CC7FFFFAB86", // _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
  PlayerId(), // Player player
  PlayerPedId(), // Ped targetPed
  0, // int promptOrder
  false // BOOL unknownFlag
);
C#
Function.Call((Hash)0xCBB54CC7FFFFAB86, // _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
  API.PlayerId(), // Player player
  API.PlayerPedId(), // Ped targetPed
  0, // int promptOrder
  false // BOOL unknownFlag
);
All PLAYER natives

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