RDR3 match
PLAYER::IS_PLAYER_TARGETTING_ENTITY
0xE9977585D8076023 ·RVA 0x045033D0
Signature
BOOL IS_PLAYER_TARGETTING_ENTITY(
Player player,
Entity entity,
BOOL p2
);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Player | player |
– |
| 1 | Entity | entity |
– |
| 2 | BOOL | p2 |
– |
Returns
BOOL
Call it
// PLAYER::IS_PLAYER_TARGETTING_ENTITY
auto result = invoke<BOOL>(0xE9977585D8076023, player, entity, p2);// PLAYER::IS_PLAYER_TARGETTING_ENTITY
bool result = Function.Call<bool>((Hash)0xE9977585D8076023, player, entity, p2);-- PLAYER::IS_PLAYER_TARGETTING_ENTITY
local result = Citizen.InvokeNative(0xE9977585D8076023, player, entity, p2)// PLAYER::IS_PLAYER_TARGETTING_ENTITY
const result = Citizen.invokeNative("0xE9977585D8076023", player, entity, p2);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.