LUA Error Regarding Meth Entities

While adding meth entities and attempting to restrict them to a single job, I seem to have been hit with a lua error:

[ERROR] addons/darkrpmodification-master/lua/darkrp_customthings/entities.lua:148: ‘}’ expected (to close ‘{’ at line 142) near ‘allowed’

  1. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/entities.lua:0

Here is the whole list of entities I added:

– Meth Entities –

DarkRP.createEntity(“Gas Canister”, {
ent = “eml_gas”,
model = “models/props_c17/canister01a.mdl”,
price = 30,
max = 20,
cmd = “buygascanister”
allowed = {TEAM_METH}
})

DarkRP.createEntity(“Liquid Iodine”, {
ent = “eml_iodine”,
model = “models/props_lab/jar01b.mdl”,
price = 50,
max = 20,
cmd = “buyiodine”
allowed = {TEAM_METH}
})

DarkRP.createEntity(“Jar”, {
ent = “eml_jar”,
model = “models/props_lab/jar01a.mdl”,
price = 10,
max = 20,
cmd = “buyjar”
allowed = {TEAM_METH}
})

DarkRP.createEntity(“Muriatic Acid”, {
ent = “eml_macid”,
model = “models/props_junk/garbage_plasticbottle001a.mdl”,
price = 1000,
max = 20,
cmd = “buymacid”
allowed = {TEAM_METH}
})

DarkRP.createEntity(“Pot”, {
ent = “eml_pot”,
model = “models/props_c17/metalPot001a.mdl”,
price = 55,
max = 20,
cmd = “buypot”
allowed = {TEAM_METH}
})

DarkRP.createEntity(“Special Pot”, {
ent = “eml_spot”,
model = “models/props_c17/metalPot001a.mdl”,
price = 50,
max = 20,
cmd = “buyspot”
allowed = {TEAM_METH}
})

DarkRP.createEntity(“Stove”, {
ent = “eml_stove”,
model = “models/props_c17/furnitureStove001a.mdl”,
price = 0,
max = 5,
cmd = “buystove”
allowed = {TEAM_METH}
})

DarkRP.createEntity(“Liquid Sulfur”, {
ent = “eml_sulfur”,
model = “models/props_lab/jar01b.mdl”,
price = 0,
max = 20,
cmd = “buysulfur”
allowed = {TEAM_METH}
})

DarkRP.createEntity(“Water”, {
ent = “eml_water”,
model = “models/props_junk/garbage_plasticbottle003a.mdl”,
price = 0,
max = 20,
cmd = “buywater”
allowed = {TEAM_METH}
})

Any help is appreciated!

You have commas missing after cmd = "…" lines in all of those.

I never caught that! Thanks a bunch. :goodjob: