RDR3 match
PLAYER::GET_PLAYER_INTERACTION_TARGET_ENTITY
0x3CD0DB1EC11E0857 ·RVA 0x04501370
Signature
BOOL GET_PLAYER_INTERACTION_TARGET_ENTITY(
Player player,
Entity* outEntity,
BOOL p2,
BOOL p3
);
Parameters 4
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Player | player |
– |
| 1 | Entity* | outEntity |
– |
| 2 | BOOL | p2 |
– |
| 3 | BOOL | p3 |
– |
Returns
BOOL
the game returns one byte.
Call it
// PLAYER::GET_PLAYER_INTERACTION_TARGET_ENTITY
auto result = invoke<BOOL>(0x3CD0DB1EC11E0857, player, &outEntity, p2, p3);// PLAYER::GET_PLAYER_INTERACTION_TARGET_ENTITY
bool result = Function.Call<bool>((Hash)0x3CD0DB1EC11E0857, player, outEntity, p2, p3);-- PLAYER::GET_PLAYER_INTERACTION_TARGET_ENTITY
local result = Citizen.InvokeNative(0x3CD0DB1EC11E0857, player, outEntity, p2, p3)// PLAYER::GET_PLAYER_INTERACTION_TARGET_ENTITY
const result = Citizen.invokeNative("0x3CD0DB1EC11E0857", player, outEntity, p2, p3);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.