Skip to content

Ammo Item Generator

Create ammunition items for your server's weapons.


Overview

Use this tool to generate the Lua structure for your custom ammo item. Once generated, the code should be placed in a new file within your schema's items directory.

Recommended Placement:

garrysmod/gamemodes/[schema folder]/schema/items/[item_id].lua

Unique identifier for this item (no spaces, lowercase)
3D model path for the ammo box
Inventory slot width
Inventory slot height
Ammo type that gets given to players (e.g., pistol, smg1, buckshot)
Amount of ammo given to the player

Generated Code