Errors for custom shipments on DarkRP

When I add this to my Config area as addentites.lua it gives me errors and removes the Shipments tab and I can’t seem to see what is cause this.


DarkRP.createShipment("Desert eagle", {
	model = "models/weapons/w_tcom_deagle.mdl",
	entity = "m9k_deagle",
	price = 215,
	amount = 10,
	seperate = true,
	pricesep = 215,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("Colt 1911", {
	model = "models/weapons/s_dmgf_co1911.mdl",
	entity = "m9k_colt1911",
	price = 215,
	amount = 10,
	seperate = true,
	pricesep = 215,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("M92 Beretta", {
	model = "models/weapons/w_beretta_m92.mdl",
	entity = "m9k_m92beretta",
	price = 215,
	amount = 10,
	seperate = true,
	pricesep = 215,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("Colt Python", {
	model = "models/weapons/w_colt_python.mdl",
	entity = "m9k_coltpython",
	price = 400,
	amount = 10,
	seperate = true,
	pricesep = 215,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("Benelli M3", {
	model = "models/weapons/w_benelli_m3.mdl",
	entity = "m9k_m3",
	price = 1000,
	amount = 10,
	seperate = true,
	pricesep = 400,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("Itchaca M37", {
	model = "models/weapons/w_ithaca_m37.mdl",
	entity = "m9k_ithacam37",
	price = 1000,
	amount = 10,
	seperate = true,
	pricesep = 400,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("Remington 870", {
	model = "models/weapons/w_remington_870_tact.mdl",
	entity = "m9k_remington870",
	price = 1000,
	amount = 10,
	seperate = true,
	pricesep = 400,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("1887 Winchester", {
	model = "models/weapons/w_winchester_1887.mdl",
	entity = "m9k_1887winchester",
	price = 400,
	amount = 10,
	seperate = true,
	pricesep = 400,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("MP5SD", {
	model = "models/weapons/w_hk_mp5sd.mdl",
	entity = "m9k_mp5sd",
	price = 1000,
	amount = 10,
	seperate = true,
	pricesep = 400,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("MP5", {
	model = "models/weapons/w_hk_mp5.mdl",
	entity = "m9k_mp5",
	price = 1000,
	amount = 10,
	seperate = true,
	pricesep = 400,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("TEC-9", {
	model = "models/weapons/w_intratec_tec9.mdl",
	entity = "m9k_tec9",
	price = 750,
	amount = 10,
	seperate = true,
	pricesep = 254,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("M16A4 ACOG", {
	model = "models/weapons/w_dmg_m16ag.mdl",
	entity = "m9k_m16a4_acog",
	price = 1500,
	amount = 10,
	seperate = true,
	pricesep = 250,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("AMD65", {
	model = "models/weapons/w_amd_65.mdl",
	entity = "m9k_amd65",
	price = 1500,
	amount = 10,
	seperate = true,
	pricesep = 250,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("Winchester 73", {
	model = "models/weapons/w_winchester_1873.mdl",
	entity = "m9k_winchester73",
	price = 1500,
	amount = 10,
	seperate = true,
	pricesep = 250,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("SCAR", {
	model = "models/weapons/w_fn_scar_h.mdl",
	entity = "m9k_scar",
	price = 1500,
	amount = 10,
	seperate = true,
	pricesep = 250q,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("USP", {
	model = "models/weapons/w_pist_fokkususp.mdl",
	entity = "m9k_usp",
	price = 0,
	amount = 10,
	seperate = true,
	pricesep = 205,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("Glock", {
	model = "models/weapons/w_dmg_glock.mdl",
	entity = "m9k_glock",
	price = 0,
	amount = 10,
	seperate = true,
	pricesep = 160,
	noship = true,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("AK47", {
	model = "models/weapons/w_ak47_m9k.mdl",
	entity = "m9k_ak47",
	price = 2450,
	amount = 10,
	seperate = false,
	pricesep = nil,
	noship = false,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("MP5", {
	model = "models/weapons/w_smg_mp5.mdl",
	entity = "weapon_mp52",
	price = 2200,
	amount = 10,
	seperate = false,
	pricesep = nil,
	noship = false,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("M4A1 Iron", {
	model = "models/weapons/w_m4a1_iron.mdl",
	entity = "m9k_m4a1",
	price = 2450,
	amount = 10,
	seperate = false,
	pricesep = nil,
	noship = false,
	allowed = {TEAM_GUN}
})

DarkRP.createShipment("Intervention", {
	model = "m9k_intervention",
	entity = "models/weapons/w_snip_int.mdl",
	price = 3750,
	amount = 10,
	seperate = false,
	pricesep = nil,
	noship = false,
	allowed = {TEAM_GUN}
})

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

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

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


What’s the error…?

Skimmed it quick and found one error on line 161:
“pricesep = 250q,” should be “pricesep = 250,”

You probably could have found this yourself if you actually spent some time looking.

Shit, your right. I was way to tired it was like 4am when I was doing this. Thanks