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
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Any* | guid |
– |
Returns
int
Call it
// WEAPON::_GET_AMMO_IN_PED_WEAPON_FROM_GUID
auto result = invoke<int>(0xDE0AE69BB7DC0EC5, ped, &guid);// WEAPON::_GET_AMMO_IN_PED_WEAPON_FROM_GUID
int result = Function.Call<int>((Hash)0xDE0AE69BB7DC0EC5, ped, guid);-- WEAPON::_GET_AMMO_IN_PED_WEAPON_FROM_GUID
local result = Citizen.InvokeNative(0xDE0AE69BB7DC0EC5, ped, guid)// WEAPON::_GET_AMMO_IN_PED_WEAPON_FROM_GUID
const result = Citizen.invokeNative("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.