Log In
Sign Up
RDR3 match

MISC::GET_COORDS_OF_PROJECTILE_TYPE_WITHIN_DISTANCE

0x97EFAD2028C369F5 ·RVA 0x03E84E80

Signature

BOOL GET_COORDS_OF_PROJECTILE_TYPE_WITHIN_DISTANCE(
    Ped ped,
    Hash weaponHash,
    float distance,
    Vector3* outCoords,
    BOOL p4,
    BOOL mustBeOwnedByThisPed
);

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

Parameters 6

#TypeNameNotes
0Pedped –
1HashweaponHash –
2floatdistance –
3Vector3*outCoords –
4BOOLp4 –
5BOOLmustBeOwnedByThisPed –

Returns

BOOL

Call it

// MISC::GET_COORDS_OF_PROJECTILE_TYPE_WITHIN_DISTANCE
auto result = invoke<BOOL>(0x97EFAD2028C369F5, ped, weaponHash, distance, &outCoords, p4, mustBeOwnedByThisPed);

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.