local player_unit = managers.player:player_unit()
for id,weapon in pairs( player_unit:inventory():available_selections() ) do
if alive( weapon.unit ) then
weapon.unit:base():replenish()
managers.hud:set_ammo_amount( id, weapon.unit:base():ammo_info() )
end
end
{
"name": "Payday 2 LUA Scripts",
"description": "The collection of hacks by MixNova",
"author": "MixNova",
"contact": "mpgh",
"version": "1.1",
"priority": 1001,
"updates": [{
"revision": 15,
"identifier": "cheats"
}],
"persist_scripts": [{
"global": "cheats",
"script_path": "cheats.lua"
}]
}
