[Help][Error]Printers for Jobs Only

So Basicly, I get a error when i try to make the printer for some jobs only
This is my Code:
AddEntity(“Emerald Printer”, {
ent = “emerald_money_printer”,
model = “models/props_c17/consolebox01a.mdl”,
price = 2500,
max = 1,
cmd = “/buyemerald”
allowed = TEAM_CITIZEN, TEAM_ALCHEMIST, TEAM_Arab, TEAM_GANG, TEAM_MOB, TEAM_GUN, TEAM_MEDIC, TEAM_DRUGDEALER, TEAM_THIEF, TEAM_hitman
})
Basicly i get an error that { or } is not closed
also putting ( and ) between the jobs doesn’t works


AddEntity("Emerald Printer", {
ent = "emerald_money_printer",
model = "models/props_c17/consolebox01a.mdl",
price = 2500,
max = 1,
cmd = "/buyemerald",    <---- add , to everything good habit to get used to.
allowed = "TEAM_CITIZEN, TEAM_ALCHEMIST, TEAM_Arab, TEAM_GANG, TEAM_MOB, TEAM_GUN, TEAM_MEDIC, TEAM_DRUGDEALER, TEAM_THIEF, TEAM_hitman"
})

That allowed check won’t work. Use {} as shown above instead.

Thanks for fixing my error

Well i still don’t understand it right. Mind updating the code?

Paste that code over the broken one.