Garry's Mod tools

DarkRP shipment generator

Sell weapons as shipments, single weapons or both.

Paste into darkrpmodification/lua/darkrp_customthings/shipments.lua

Base Configuration

The weapon being sold.

Shown in the F4 menu.

Right click a weapon in the Q menu to copy its class.

The world model shown in the menu.

The F4 menu category. It must already exist.

Economy Configuration

How the weapon is sold and what it costs.

Single weapons are bought one at a time.

Price of a full shipment.

How many weapons a shipment holds.

Team Configuration

Which jobs are allowed to buy it.

Leave empty to allow every job.

Custom Check Configuration

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

What the player is checked against.

Press Enter after each group.

Shown when a player fails the check.

5 fields need attention.

Generated code

shipments.lua
1-- Unnamed Shipment2-- Generated with Wattle Tools: DarkRP Shipment Generator3-- https://wattletools.com/gmod/darkrp-shipment4 5DarkRP.createShipment("", {6    model = "",7    entity = "",8    price = 0,9    amount = 0,10    separate = false,11    noship = false,12})
Esc