Log In
Sign Up
RDR3 match

WEAPON::SET_AMMO_IN_CLIP

0x29A34B68232D56CB ·RVA 0x04A8E1C0

Signature

BOOL SET_AMMO_IN_CLIP(Ped ped, Any* weaponHash, int ammo);

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 –
1Any*weaponHash –
2intammo –

Returns

BOOL

Call it

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

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.