RDR3 matchUnofficial name
WEAPON::_SET_AMMO_TYPE_FOR_PED_WEAPON
0xADC7CC1D3363BC6C ·RVA 0x04A8E2C0
Signature
void _SET_AMMO_TYPE_FOR_PED_WEAPON(
Ped ped,
Hash weaponHash,
int ammoHash
);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Hash | weaponHash |
– |
| 2 | int | ammoHash |
– |
Returns
void Nothing.
Call it
// WEAPON::_SET_AMMO_TYPE_FOR_PED_WEAPON
invoke<Void>(0xADC7CC1D3363BC6C, ped, weaponHash, ammoHash);// WEAPON::_SET_AMMO_TYPE_FOR_PED_WEAPON
Function.Call((Hash)0xADC7CC1D3363BC6C, ped, weaponHash, ammoHash);-- WEAPON::_SET_AMMO_TYPE_FOR_PED_WEAPON
Citizen.InvokeNative(0xADC7CC1D3363BC6C, ped, weaponHash, ammoHash)// WEAPON::_SET_AMMO_TYPE_FOR_PED_WEAPON
Citizen.invokeNative("0xADC7CC1D3363BC6C", ped, weaponHash, ammoHash);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.