_REFILL_AMMO_IN_CURRENT_PED_WEAPON
Refills the ammo in the ped's current weapon.
Signature
Any _REFILL_AMMO_IN_CURRENT_PED_WEAPON(Ped ped); // 0x0A2AB7B7ABC055F4 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | _REFILL_AMMO_IN_CURRENT_PED_WEAPON |
|---|---|
| Hash | 0x0A2AB7B7ABC055F4 |
| Namespace | |
| Returns | Any |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x0A2AB7B7ABC055F4, -- _REFILL_AMMO_IN_CURRENT_PED_WEAPON
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x0A2AB7B7ABC055F4", // _REFILL_AMMO_IN_CURRENT_PED_WEAPON
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x0A2AB7B7ABC055F4, // _REFILL_AMMO_IN_CURRENT_PED_WEAPON
API.PlayerPedId() // Ped ped
);Related WEAPON natives
- _REFILL_AMMO_IN_CLIP
- _GET_AMMO_IN_PED_WEAPON_FROM_GUID
- _GET_CURRENT_PED_WEAPON_AMMO_TYPE
- GET_AMMO_IN_PED_WEAPON
- _DISABLE_AMMO_TYPE_FOR_PED_WEAPON
- _ENABLE_AMMO_TYPE_FOR_PED_WEAPON
- _GET_BEST_PED_WEAPON_IN_GROUP
- _GET_BEST_PED_WEAPON_IN_INVENTORY
- _GET_MAX_LOCKON_DISTANCE_OF_CURRENT_PED_WEAPON
- _GET_PED_CURRENT_HELD_WEAPON
- _GET_PED_WEAPON_IN_SLOT
- _GET_WEAPON_FROM_DEFAULT_PED_WEAPON_COLLECTION
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.