Log In
Sign Up
RDR3 match

WEAPON::SET_PED_DROPS_INVENTORY_WEAPON

0xFF803F19DF75E777 ·RVA 0x04A8C470

Signature

void SET_PED_DROPS_INVENTORY_WEAPON(
    Ped ped,
    Hash weaponHash,
    Vector3 offset,
    int ammoCount
);

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

Parameters 4

#TypeNameNotes
0Pedped –
1HashweaponHash –
2Vector3offset the game doesn't read it.
3intammoCount the game doesn't read it.

Returns

void Nothing.

Call it

// WEAPON::SET_PED_DROPS_INVENTORY_WEAPON
invoke<Void>(0xFF803F19DF75E777, ped, weaponHash, offset, ammoCount);

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.