Log In
Sign Up
RDR3 matchUnofficial name

WEAPON::_SET_AMMO_TYPE_FOR_PED_WEAPON

0xADC7CC1D3363BC6C ·RVA 0x04A8E2C0

Signature

void _SET_AMMO_TYPE_FOR_PED_WEAPON(
    Ped ped,
    Hash weaponHash,
    int ammoHash
);

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

Returns

void Nothing.

Call it

// WEAPON::_SET_AMMO_TYPE_FOR_PED_WEAPON
invoke<Void>(0xADC7CC1D3363BC6C, ped, weaponHash, ammoHash);

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.