Log In
Sign Up
RDR3 matchUnofficial name

WEAPON::_GET_AMMO_IN_CLIP_BY_INVENTORY_UID

0x767F0AE99870FF7A ·RVA 0x04A81CC0

Signature

BOOL _GET_AMMO_IN_CLIP_BY_INVENTORY_UID(
    Ped ped,
    int* ammo,
    Any* inventoryUid
);

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

Parameters 3

#TypeNameNotes
0Pedped –
1int*ammo –
2Any*inventoryUid –

Returns

BOOL

the game returns one byte.

Call it

// WEAPON::_GET_AMMO_IN_CLIP_BY_INVENTORY_UID
auto result = invoke<BOOL>(0x767F0AE99870FF7A, ped, &ammo, &inventoryUid);

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.