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