Log In
Sign Up
RDR3 matchUnofficial name

WEAPON::_GET_CURRENT_PED_WEAPON_AMMO_TYPE

0xCAA011EC8184E65B ·RVA 0x04A82650

Signature

Hash _GET_CURRENT_PED_WEAPON_AMMO_TYPE(
    Ped ped,
    Object weaponObject
);

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

Parameters 2

#TypeNameNotes
0Pedped –
1ObjectweaponObject –

Returns

Hash

Call it

// WEAPON::_GET_CURRENT_PED_WEAPON_AMMO_TYPE
auto result = invoke<Hash>(0xCAA011EC8184E65B, ped, weaponObject);

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.