Log In
Sign Up
RDR3 match

WEAPON::GET_PED_AMMO_TYPE_FROM_WEAPON

0xCD94608B80152C74 ·RVA 0x04A84FB0

Signature

Hash GET_PED_AMMO_TYPE_FROM_WEAPON(Ped ped, Hash weaponHash);

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

Parameters 2

#TypeNameNotes
0Pedped –
1HashweaponHash –

Returns

Hash

Call it

// WEAPON::GET_PED_AMMO_TYPE_FROM_WEAPON
auto result = invoke<Hash>(0xCD94608B80152C74, ped, 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.