Log In
Sign Up
RDR3 match

MISC::IS_PROJECTILE_TYPE_WITHIN_DISTANCE

0x26129B3B0AE36455 ·RVA 0x03E8C510

Signature

BOOL IS_PROJECTILE_TYPE_WITHIN_DISTANCE(
    Vector3 p0,
    Hash p3,
    float p4,
    BOOL p5
);

The scripts pass 5 values to this native; the decoded signature lists 4 (arguments the game doesn't read are left out).

Parameters 4

#TypeNameNotes
0Vector3p0 –
1Hashp3 RDR3 doesn't give a type; hash constants.
2floatp4 –
3BOOLp5 –

Returns

BOOL

Notes

  • p0, p1 and p2 in RDR3 are one Vector3 in GTA VI.

Call it

// MISC::IS_PROJECTILE_TYPE_WITHIN_DISTANCE
auto result = invoke<BOOL>(0x26129B3B0AE36455, p0, p3, p4, p5);

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.