_SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
Based on its name and signature, here is our best reading:
Shows a cooperation prompt for player toward targetPed for the current frame.
Signature
void _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME(Player player, Ped targetPed, int promptOrder, BOOL unknownFlag); // 0xCBB54CC7FFFFAB86 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | targetPed | Ped |
| 3 | promptOrder | int |
| 4 | unknownFlag | BOOL |
Facts
| 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.
Citizen.InvokeNative(0xCBB54CC7FFFFAB86, -- _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
PlayerId(), -- Player player
PlayerPedId(), -- Ped targetPed
0, -- int promptOrder
false -- BOOL unknownFlag
)Citizen.invokeNative("0xCBB54CC7FFFFAB86", // _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
PlayerId(), // Player player
PlayerPedId(), // Ped targetPed
0, // int promptOrder
false // BOOL unknownFlag
);Function.Call((Hash)0xCBB54CC7FFFFAB86, // _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
API.PlayerId(), // Player player
API.PlayerPedId(), // Ped targetPed
0, // int promptOrder
false // BOOL unknownFlag
);Related PLAYER natives
- _SET_PLAYER_PROMPT_LEAVE_TEXT
- _SET_PLAYER_PROMPT_MELEE_TEXT
- _SET_PLAYER_PROMPT_SIT_TEXT
- _SET_PLAYER_CAN_MERCY_KILL
- _SET_PLAYER_CAN_PICKUP_ABILITY
- _SET_PLAYER_CAN_PICKUP_HAT
- _SET_PLAYER_AIM_WEAPON
- _SET_PLAYER_DAMAGE_INFO_OVERRIDE
- _SET_PLAYER_DEAD_EYE_AURA_BY_HASH
- _SET_PLAYER_DEFENSE_MODIFIER
- _SET_PLAYER_DEFENSE_TYPE_MODIFIER
- _SET_PLAYER_EXPLOSIVE_WEAPON_DAMAGE_MODIFIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.