RDR3 match
PED::IS_PED_HEADING_TOWARDS_POSITION
0x8346923F030C85BA ·RVA 0x04BD08E0
Signature
BOOL IS_PED_HEADING_TOWARDS_POSITION(
Ped ped,
Vector3 pos,
float p4
);
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 | pos |
– |
| 2 | float | p4 |
– |
Returns
BOOL
Call it
// PED::IS_PED_HEADING_TOWARDS_POSITION
auto result = invoke<BOOL>(0x8346923F030C85BA, ped, pos, p4);// PED::IS_PED_HEADING_TOWARDS_POSITION
bool result = Function.Call<bool>((Hash)0x8346923F030C85BA, ped, pos, p4);-- PED::IS_PED_HEADING_TOWARDS_POSITION
local result = Citizen.InvokeNative(0x8346923F030C85BA, ped, pos, p4)// PED::IS_PED_HEADING_TOWARDS_POSITION
const result = Citizen.invokeNative("0x8346923F030C85BA", ped, pos, p4);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.