Game codeUnofficial name
PED::_REGISTER_HATED_TARGETS_IN_AREA
0x5C7123A3278C9102 ·RVA 0x03CD5830
Signature
void _REGISTER_HATED_TARGETS_IN_AREA(
Ped ped,
Vector3 pos,
float radius,
BOOL p3
);
The scripts pass 6 values to this native; the decoded signature lists 4 (arguments the game doesn't read are left out).
Parameters 4
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Vector3 | pos |
– |
| 2 | float | radius |
– |
| 3 | BOOL | p3 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p3 is not in RDR3's signature; the game reads it as a true/false value.
Call it
// PED::_REGISTER_HATED_TARGETS_IN_AREA
invoke<Void>(0x5C7123A3278C9102, ped, pos, radius, p3);// PED::_REGISTER_HATED_TARGETS_IN_AREA
Function.Call((Hash)0x5C7123A3278C9102, ped, pos, radius, p3);-- PED::_REGISTER_HATED_TARGETS_IN_AREA
Citizen.InvokeNative(0x5C7123A3278C9102, ped, pos, radius, p3)// PED::_REGISTER_HATED_TARGETS_IN_AREA
Citizen.invokeNative("0x5C7123A3278C9102", ped, pos, radius, p3);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.