DarkRP Ammo Generator

Create custom ammo types for your DarkRP server's F4 menu — quick and easy.

Have questions? Check the FAQ

Common Ammo Types

Quick-fill presets for common DarkRP ammo types.

Basic Configuration

Core settings for the ammo type — internal type, display name, model, price, and amount.

The internal ammo type name from the SWEP (e.g. pistol, smg1, buckshot)

The name shown in the F4 menu

The ammo box model displayed in the F4 menu

$

Cost per purchase

Bullets given per purchase

Advanced Options

Optional
ammo.lua
DarkRP.createAmmoType("pistol", {
    name = "Ammo",
    model = "models/Items/BoxSRounds.mdl",
    price = 60,
    amountGiven = 30,
})

Where does this code go?

Paste the code into lua/darkrp_customthings/ammo.lua inside the darkrpmodification addon on your server.

Full path: garrysmod/addons/darkrpmodification/lua/darkrp_customthings/ammo.lua

Each ammo type should use a unique ammoType name. Restart your server or change the map for changes to take effect.

FAQ · Frequently. Asked. Questions.

Commonly asked questions about creating custom DarkRP ammo types, how they work, and what each option does.

Visit Knowledge Base
Paste the generated Lua code into lua/darkrp_customthings/ammo.lua inside the darkrpmodification addon on your server. The full path is garrysmod/addons/darkrpmodification/lua/darkrp_customthings/ammo.lua. This file is loaded automatically by DarkRP.

Questions?

Join over 6,000+ members in our Discord community chat with other server owners, get help, and stay up to date with the latest news.