Lua Errors When Adding a Custom DarkRP shipment

I’ve been following the Jackktutorials Garry’s Mod tutorial series and followed it to the letter. I for some reason however cannot create shipments for weapons. I keep getting the following errors when I join and on startup:

Here is my addentities.lua file:


AddEntity("Drug lab", {
	ent = "drug_lab",
	model = "models/props_lab/crematorcase.mdl",
	price = 400,
	max = 3,
	cmd = "/buydruglab",
	allowed = TEAM_GANG, TEAM_MOB
})

AddEntity("Money printer", {
	ent = "money_printer",
	model = "models/props_c17/consolebox01a.mdl",
	price = 1000,
	max = 2,
	cmd = "/buymoneyprinter"
})

AddEntity("Gun lab", {
	ent = "gunlab",
	model = "models/props_c17/TrapPropeller_Engine.mdl",
	price = 500,
	max = 1,
	cmd = "/buygunlab",
	allowed = TEAM_GUN
})

-- ADD CUSTOM SHIPMENTS HERE(next line):
AddCustomShipment("AK 47", {
	model = "models/weapons/w_rif_ak47.mdl",
	entity = "bb_ak47_alt",
	price = 500,
	amount = 1,
	seperate = true,
	pricesep = 500,
	noship = true,
	allowed = TEAM_GUN
})

AddCustomShipment("AWP Shipment", {
	model = "models/weapons/w_snip_awp.mdl",
	entity = "bb_awp_alt",
	price = 20000,
	amount = 10
	seperate = false,
	pricesep = nil,
	noship = false,
	allowed = TEAM_GUN
})


I have tried rearranging some code, removing brackets, and everything. Seems like this just plain hates me.
If anybody could help with this, it would be greatly appreciated.

You had a very simple mistake.


AddEntity("Drug lab", {
	ent = "drug_lab",
	model = "models/props_lab/crematorcase.mdl",
	price = 400,
	max = 3,
	cmd = "/buydruglab",
	allowed = TEAM_GANG, TEAM_MOB
})

AddEntity("Money printer", {
	ent = "money_printer",
	model = "models/props_c17/consolebox01a.mdl",
	price = 1000,
	max = 2,
	cmd = "/buymoneyprinter"
})

AddEntity("Gun lab", {
	ent = "gunlab",
	model = "models/props_c17/TrapPropeller_Engine.mdl",
	price = 500,
	max = 1,
	cmd = "/buygunlab",
	allowed = TEAM_GUN
})

-- ADD CUSTOM SHIPMENTS HERE(next line):
AddCustomShipment("AK 47", {
	model = "models/weapons/w_rif_ak47.mdl",
	entity = "bb_ak47_alt",
	price = 500,
	amount = 1,
	seperate = true,
	pricesep = 500,
	noship = true,
	allowed = TEAM_GUN
})

AddCustomShipment("AWP Shipment", {
	model = "models/weapons/w_snip_awp.mdl",
	entity = "bb_awp_alt",
	price = 20000,
	amount = 10,
	seperate = false,
	pricesep = nil,
	noship = false,
	allowed = TEAM_GUN
})


If you need a coder, message me on steam and I can help you out.

Ok. Is that the fixed code?

When I entered it I got this:

[editline]25th August 2013[/editline]

Never mind. For some reason I copied it with <span> tags. It updated afterwards and now I ACTUALLY get this message whenever I press f4 to pick a job.