Garry's Mod tools

DarkRP entity generator

Printers, labs and other buyable entities.

Paste into darkrpmodification/lua/darkrp_customthings/entities.lua

Base Configuration

The entity being sold.

Shown in the F4 menu.

Right click the entity in the Q menu to copy its class.

The chat command used to buy it.

The model shown in the menu.

The F4 menu category. It must already exist.

Economy Configuration

Price and how many each player can own.

Cost of one entity.

How many one player can own at once.

Team Configuration

Which jobs are allowed to buy it.

Leave empty to allow every job.

Custom Check Configuration

Limit who can buy this entity to certain usergroups, SteamIDs or jobs.

What the player is checked against.

Press Enter after each group.

Shown when a player fails the check.

6 fields need attention.

Generated code

entities.lua
1-- Unnamed Entity2-- Generated with Wattle Tools: DarkRP Entity Generator3-- https://wattletools.com/gmod/darkrp-entity4 5DarkRP.createEntity("", {6    ent = "",7    model = "",8    price = 0,9    max = 0,10    cmd = "",11})
Esc