Ammo Crate SWEP
This addon adds a portable ammo crate that replenishes your ammunition based on the weapon you’re holding. It works best with weapons using standard ammo types but will also resupply custom ammo from other addons.
Item is located in the "Other" tab. Left-click to drop the ammo crate onto the ground. Interacting with the crate will refill the ammo for the weapon currently held by the player.
If you admin, you can add your own ammo types and adjust default ammo, type ammocrate_menu in console for open configuration panel
– Pistol rounds – 150
– Revolver rounds – 18
– SMG rounds – 225
– AR2 (pulse) rounds – 120
– Shotgun shells – 60
– Crossbow bolts – 30
– Grenades – 3
– RPG rockets – 3
– SMG grenade – 3
– All other ammo types – 120
1. Crate will be deleted after 60 second, if nobody pick it up
2. If the server enforces an ammo limit lower than the resupply amount defined in this addon (<225), the crate will still function, but ammo will not be refilled beyond the server’s configured
3. Adjust values from ammocrate_menu interface
I uploaded code of this addon on Github, feel free to change and reupload with it