Log In
Sign Up
RDR3 matchUnofficial name

WEAPON::_GET_AMMO_IN_PED_WEAPON_FROM_GUID

0xDE0AE69BB7DC0EC5 ·RVA 0x04A81C40

Signature

int _GET_AMMO_IN_PED_WEAPON_FROM_GUID(Ped ped, Any* guid);

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 –
1Any*guid –

Returns

int

Call it

// WEAPON::_GET_AMMO_IN_PED_WEAPON_FROM_GUID
auto result = invoke<int>(0xDE0AE69BB7DC0EC5, ped, &guid);

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.