RDR3 matchUnofficial name
WEAPON::_GET_CURRENT_AMMO_TYPE_FROM_GUID
0xA9A929595062E985 ·RVA 0x04A825F0
Signature
Hash _GET_CURRENT_AMMO_TYPE_FROM_GUID(Ped ped, Any* weaponGuid);
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* | weaponGuid |
– |
Returns
Hash
Call it
// WEAPON::_GET_CURRENT_AMMO_TYPE_FROM_GUID
auto result = invoke<Hash>(0xA9A929595062E985, ped, &weaponGuid);// WEAPON::_GET_CURRENT_AMMO_TYPE_FROM_GUID
uint result = Function.Call<uint>((Hash)0xA9A929595062E985, ped, weaponGuid);-- WEAPON::_GET_CURRENT_AMMO_TYPE_FROM_GUID
local result = Citizen.InvokeNative(0xA9A929595062E985, ped, weaponGuid)// WEAPON::_GET_CURRENT_AMMO_TYPE_FROM_GUID
const result = Citizen.invokeNative("0xA9A929595062E985", ped, weaponGuid);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.