RDR3 matchUnofficial name
TASK::_IS_PED_LOOKING_AT_COORD
0x1C090F3BAF70AFAC ·RVA 0x044C0760
Signature
BOOL _IS_PED_LOOKING_AT_COORD(
Ped ped,
Vector3 coord,
float radius
);
The scripts pass 5 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Vector3 | coord |
– |
| 2 | float | radius |
– |
Returns
BOOL
Call it
// TASK::_IS_PED_LOOKING_AT_COORD
auto result = invoke<BOOL>(0x1C090F3BAF70AFAC, ped, coord, radius);// TASK::_IS_PED_LOOKING_AT_COORD
bool result = Function.Call<bool>((Hash)0x1C090F3BAF70AFAC, ped, coord, radius);-- TASK::_IS_PED_LOOKING_AT_COORD
local result = Citizen.InvokeNative(0x1C090F3BAF70AFAC, ped, coord, radius)// TASK::_IS_PED_LOOKING_AT_COORD
const result = Citizen.invokeNative("0x1C090F3BAF70AFAC", ped, coord, radius);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.