# DarkRP Ammo Generator

Add a buyable ammo type to the F4 menu, with its price and how many rounds each purchase gives.

- Platform: Garry's Mod
- Canonical page: https://devtoolsgg.com/gmod/darkrp-ammo
- Writes to: Paste into addons/darkrpmodification/lua/darkrp_customthings/ammo.lua

## Options

### Ammo type

- `ammoType` Ammo type (required). The engine ammo name. It must match what your weapons actually use.
- `name` Display name (required). Shown in the F4 menu.
- `model` Model (required). The .mdl of the ammo box.
- `price` Price (required). Cost of one purchase.
- `amountGiven` Rounds given (required). How many rounds one purchase adds.
- `category` Category. F4 menu category. Optional.

## How to cite

DarkRP Ammo Generator, devtoolsgg.com. https://devtoolsgg.com/gmod/darkrp-ammo
