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