# DarkRP Entity Generator

Create a buyable entity such as a money printer or a drug lab, with its price, limit and buy command.

- Platform: Garry's Mod
- Canonical page: https://devtoolsgg.com/gmod/darkrp-entity
- Writes to: Paste into addons/darkrpmodification/lua/darkrp_customthings/entities.lua

## Options

### Entity

- `name` Name (required). Shown in the F4 menu.
- `category` Category. F4 menu category. Optional.
- `ent` Entity class (required). The scripted entity class, for example money_printer.
- `cmd` Buy command (required). Typing /command buys it. Lowercase, no spaces.
- `model` Model (required). The .mdl the entity uses in the world.

### Price and limit

- `price` Price (required). What it costs to buy.
- `max` Max per player (required). How many one player may own at once.

### Access

- `allowed` Allowed jobs. TEAM variables that can buy this. Empty means every job.

## How to cite

DarkRP Entity Generator, devtoolsgg.com. https://devtoolsgg.com/gmod/darkrp-entity
