Log In
Sign Up
Game codeUnofficial name

PED::_SHOOT_TRIGGER_AT_COORDS

0xEAAB194FB3A80D82 ·RVA 0x04BDBE60

Signature

Vector3 _SHOOT_TRIGGER_AT_COORDS(
    Ped ped,
    Vector3 pos,
    BOOL p4,
    float p5,
    int p6,
    float p7
);

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

Parameters 6

#TypeNameNotes
0Pedped –
1Vector3pos –
2BOOLp4 RDR3 says int, but the game reads it as a true/false value.
3floatp5 –
4intp6 –
5floatp7 –

Returns

Vector3

the game returns 16 bytes and the name asks for a position, offset or direction.

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:

Call it

// PED::_SHOOT_TRIGGER_AT_COORDS
auto result = invoke<Vector3>(0xEAAB194FB3A80D82, ped, pos, p4, p5, p6, p7);

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.