Log In
Sign Up
RDR3 match

PED::COUNT_PEDS_IN_COMBAT_WITH_TARGET_WITHIN_RADIUS

0xF54FF834CC94C2DF ·RVA 0x03CCF9C0

Signature

int COUNT_PEDS_IN_COMBAT_WITH_TARGET_WITHIN_RADIUS(
    Ped ped,
    Vector3 pos,
    float radius,
    int flag
);

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 –
3intflag –

Returns

int

Call it

// PED::COUNT_PEDS_IN_COMBAT_WITH_TARGET_WITHIN_RADIUS
auto result = invoke<int>(0xF54FF834CC94C2DF, ped, pos, radius, flag);

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.