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
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Hash | weaponHash |
– |
| 2 | Vector3 | offset |
the game doesn't read it. |
| 3 | int | ammoCount |
the game doesn't read it. |
Returns
void Nothing.
Call it
// WEAPON::SET_PED_DROPS_INVENTORY_WEAPON
invoke<Void>(0xFF803F19DF75E777, ped, weaponHash, offset, ammoCount);// WEAPON::SET_PED_DROPS_INVENTORY_WEAPON
Function.Call((Hash)0xFF803F19DF75E777, ped, weaponHash, offset, ammoCount);-- WEAPON::SET_PED_DROPS_INVENTORY_WEAPON
Citizen.InvokeNative(0xFF803F19DF75E777, ped, weaponHash, offset, ammoCount)// WEAPON::SET_PED_DROPS_INVENTORY_WEAPON
Citizen.invokeNative("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.