devtoolsgg.com
Guides
GuidesFiveMFiveMGarry's ModMinecraftShared
Garry's Mod

DarkRP

  • Jobs
  • Shipments
  • Entities
  • Ammo
  • Food
  • Categories
  • Door groups
  • Agendas
  • Demote groups
  • Group chats

Server configuration

  • Start script
  • server.cfg
  • Workshop

Reference lists

  • Player models
  • Weapons
  • Entities
  • Hooks
  • Enums
devtoolsgg.com

Generators for game server owners

Platforms

  • FiveM
  • Garry's Mod
  • Minecraft
  • Shared

Resources

  • Home
  • llms.txt

Social

  • Coming soon.

© 2026 devtoolsgg.com

Not affiliated with, endorsed by or associated with Cfx.re, Rockstar Games, Facepunch Studios, Mojang, Microsoft or Valve. All trademarks belong to their respective owners.

  1. Garry's Mod
  2. DarkRP
  3. Ammo

DarkRP Ammo Generator

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

required

The engine ammo name. It must match what your weapons actually use.

required

Shown in the F4 menu.

required

The .mdl of the ammo box.

required

Cost of one purchase.

required

How many rounds one purchase adds.

optional

F4 menu category. Optional.

addons/darkrpmodification/lua/darkrp_customthings/ammo.lua
1-- Generated with devtoolsgg.com2DarkRP.createAmmoType("pistol", {3    name = "Pistol ammo",4    model = "models/Items/BoxSRounds.mdl",5    price = 30,6    amountGiven = 24,7})8
lua8 lines, 177 characters

Related tools

JobsShipmentsEntitiesFoodCategoriesDoor groupsAgendasDemote groupsGroup chats