Garry's Mod

Garry's Mod

Gemstone Money Printers (Requires DarkRP 2.7.x)
basel 23 Feb, 2019 @ 7:15am
Trying to make it so printer is only purchasable by certain jobs
Hey,

I've already tried adding the entity to the entities.lua file in the darkrpmodification folder and also the file in gemstone printers under customthings but that still didn't seem to help. At the moment only citizens can buy the printers.

This is the code for one of my printers:

DarkRP.createEntity("Tier 3 Printer", {
ent = "emerald_money_printer",
model = "models/props_c17/consolebox01a.mdl",
price = 25000,
max = 3,
cmd = "buyemeraldprinter",
category = "Money Printers",
allowed = {TEAM_HITMAN, TEAM_MAFIA, TEAM_CITIZEN, TEAM_GUNDEALER, TEAM_BLACK, TEAM_THIEF, TEAM_GODFATHER}
})

Any help would be great.

Thanks
Last edited by basel; 23 Feb, 2019 @ 7:15am