Garry's Mod

Garry's Mod

Gemstone Money Printers (Requires DarkRP 2.7.x)
basel 2019 年 2 月 23 日 上午 7:15
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
最后由 basel 编辑于; 2019 年 2 月 23 日 上午 7:15