Log In
Sign Up
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

#TypeNameNotes
0Pedped –
1Vector3pos –
2floatradius –
3BOOLp3 –

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);

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.