Log In
Sign Up
RDR3 match

WEAPON::GET_MAX_AMMO

0x85DF36CC23E9EDD3 ·RVA 0x04A842E0

Signature

BOOL GET_MAX_AMMO(Ped ped, int* ammo, Hash weaponHash);

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 –
2HashweaponHash –

Returns

BOOL

Call it

// WEAPON::GET_MAX_AMMO
auto result = invoke<BOOL>(0x85DF36CC23E9EDD3, ped, &ammo, weaponHash);

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.