RDR3 matchUnofficial name
WEAPON::_GET_CURRENT_PED_WEAPON_AMMO_TYPE
0xCAA011EC8184E65B ·RVA 0x04A82650
Signature
Hash _GET_CURRENT_PED_WEAPON_AMMO_TYPE(
Ped ped,
Object weaponObject
);
The scripts pass 4 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Object | weaponObject |
– |
Returns
Hash
Call it
// WEAPON::_GET_CURRENT_PED_WEAPON_AMMO_TYPE
auto result = invoke<Hash>(0xCAA011EC8184E65B, ped, weaponObject);// WEAPON::_GET_CURRENT_PED_WEAPON_AMMO_TYPE
uint result = Function.Call<uint>((Hash)0xCAA011EC8184E65B, ped, weaponObject);-- WEAPON::_GET_CURRENT_PED_WEAPON_AMMO_TYPE
local result = Citizen.InvokeNative(0xCAA011EC8184E65B, ped, weaponObject)// WEAPON::_GET_CURRENT_PED_WEAPON_AMMO_TYPE
const result = Citizen.invokeNative("0xCAA011EC8184E65B", ped, weaponObject);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.