RDR3 match
PED::SET_PED_DEFENSIVE_AREA_DIRECTION
0xC5B50052BEC39389 ·RVA 0x03CD7FC0
Signature
void SET_PED_DEFENSIVE_AREA_DIRECTION(
Ped ped,
Vector3 p1,
BOOL 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 | p1 |
– |
| 2 | BOOL | p4 |
– |
Returns
void Nothing.
Notes
- p1, p2 and p3 in RDR3 are one Vector3 in GTA VI.
Call it
// PED::SET_PED_DEFENSIVE_AREA_DIRECTION
invoke<Void>(0xC5B50052BEC39389, ped, p1, p4);// PED::SET_PED_DEFENSIVE_AREA_DIRECTION
Function.Call((Hash)0xC5B50052BEC39389, ped, p1, p4);-- PED::SET_PED_DEFENSIVE_AREA_DIRECTION
Citizen.InvokeNative(0xC5B50052BEC39389, ped, p1, p4)// PED::SET_PED_DEFENSIVE_AREA_DIRECTION
Citizen.invokeNative("0xC5B50052BEC39389", ped, p1, 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.