Darkrp Gun dealer help

Ok so one of my players came to me today and said why is the gun dealer broken you can not spawn shipments except pistols so I looked into it and when I tried to spawn one it and then it said you do not have the right job to /buyshipment


AddEntity("Silver Money Printer", {
	ent = "silver_printer",
	model = "models/props_c17/consolebox01a.mdl",
	price = 1000,
	max = 2,
	cmd = "/BuySilverPrinter"
})

AddEntity("Gold Money Printer", {
	ent = "gold_printer",
	model = "models/props_c17/consolebox01a.mdl",
	price = 5000,
	max = 2,
	cmd = "/BuyGoldPrinter"
})

AddEntity("Diamond Money Printer", {
	ent = "diamond_printer",
	model = "models/props_c17/consolebox01a.mdl",
	price = 10000,
	max = 2,
	cmd = "/BuyDiamondPrinter"
})

AddCustomShipment("Desert eagle", {
	model = "models/weapons/w_pist_deagle.mdl",
	entity = "bb_deagle_alt",
	price = 250,
	amount = 1,
	seperate = false,
	pricesep = 215,
	noship = false,
	allowed = {TEAM_GUN}
})

AddCustomShipment("Fiveseven", {
	model = "models/weapons/w_pist_fiveseven.mdl",
	entity = "bb_fiveseven_alt",
	price = 205,
	amount = 1,
	seperate = false,
	pricesep = 205,
	noship = false,
	allowed = {TEAM_GUN}
})

AddCustomShipment("HK USP", {
	model = "models/weapons/w_pist_usp.mdl",
	entity = "bb_usp_alt",
	price = 205,
	amount = 1,
	seperate = false,
	pricesep = 150,
	noship = false,
	allowed = {TEAM_GUN}
})

AddCustomShipment("UMP45", {
	model = "models/weapons/w_smg_ump45.mdl",
	entity = "bb_ump45_alt",
	price = 4200,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_GUN}
})

AddCustomShipment("M4A1", {
	model = "models/weapons/w_rif_m4a1.mdl",
	entity = "bb_m4a1_alt",
	price = 6000,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_GUN}
})

AddCustomShipment("AK47", {
	model = "models/weapons/w_rif_ak47.mdl",
	entity = "bb_ak47_alt",
	price = 7500,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_GUN}
})

AddCustomShipment("Galil", {
	model = "models/weapons/w_rif_galil.mdl",
	entity = "bb_galil_alt",
	price = 6000,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_GUN}
})

AddCustomShipment("P90", {
	model = "models/weapons/w_smg_p90.mdl",
	entity = "bb_p90_alt",
	price = 4900,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_GUN}
})

AddCustomShipment("Armour", {
	model = "models/Items/battery.mdl",
	entity = "item_battery",
	price = 350,
	amount = 7,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_GUN,TEAM_EDEALER}
})

AddCustomShipment("AWP", {
	model = "models/weapons/w_snip_awp.mdl",
	entity = "bb_awp_alt",
	price = 9000,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_EDEALER}
})

AddCustomShipment("Keypad Cracker", {
	model = "models/weapons/w_c4.mdl",
	entity = "keypad_cracker",
	price = 5000,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_EDEALER}
})

AddCustomShipment("Lockpick", {
	model = "models/weapons/w_crowbar.mdl",
	entity = "lockpick",
	price = 5000,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_EDEALER}
})

AddCustomShipment("Smoke Grenade", {
	model = "models/weapons/2_eq_smokegrenade_thrown.mdl",
	entity = "bb_css_smoke_alt",
	price = 5000,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_EDEALER}
})

AddCustomShipment("AUG", {
	model = "models/weapons/w_rif_aug.mdl",
	entity = "bb_aug_alt",
	price = 7500,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_EDEALER}
})

AddCustomShipment("Scout Sniper", {
	model = "models/weapons/w_snip_scout.mdl",
	entity = "bb_scout_alt",
	price = 9000,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_EDEALER}
})

AddCustomShipment("Famas", {
	model = "models/weapons/w_rif_famas.mdl",
	entity = "bb_famas_alt",
	price = 7000,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_EDEALER}
})

AddCustomShipment("SG552", {
	model = "models/weapons/w_rif_sg552.mdl",
	entity = "bb_sg552_alt",
	price = 6500,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_EDEALER}
})

AddCustomShipment("Frag Grenade", {
	model = "models/weapons/w_m61_fraggynade_thrown.mdl",
	entity = "bb_cssfrag_alt",
	price = 7500,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_EDEALER}
})

AddCustomShipment("Slam's", {
	model = "models/weapons/w_slam.mdl",
	entity = "weapon_slam",
	price = 12000,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_EDEALER}
})

AddCustomShipment("Marijuana", {
    entity = "durgz_weed",
    model = "models/katharsmodels/contraband/zak_wiet/zak_wiet.mdl",
	price = 1000,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_DRUG}
})

AddCustomShipment("LSD", {
    entity = "durgz_lsd",
    model = "models/smile/smile.mdl",
	price = 2500,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_DRUG}
})

AddCustomShipment("Shrooms", {
    entity = "durgz_mushroom",
    model = "models/cocn.mdl",
	price = 3250,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_DRUG}
})

AddCustomShipment("Heroin", {
    entity = "durgz_heroine",
    model = "models/katharsmodels/syringe_out/syringe_out.mdl",
	price = 3500,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_DRUG}
})

AddCustomShipment("Water", {
    entity = "durgz_water",
    model = "models/drug_mod/the_bottle_of_water.mdl",
	price = 100,
	amount = 10,
	seperate = false,
	pricesep = 0,
	noship = false,
	allowed = {TEAM_DRUG}
})
AddCustomShipment("UMP45", "models/weapons/w_hk_ump45.mdl", "weapon_mad_ump", 3600, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("UMP45 Single", "models/weapons/w_smg_ump45.mdl", "weapon_mad_ump", 450, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("P90", "models/weapons/w_smg_p90.mdl", "weapon_mad_p90", 3500, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("P90 Single", "models/weapons/w_smg_p90.mdl", "weapon_mad_p90", 500, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Steyr Aug", "models/weapons/w_rif_aug.mdl", "weapon_mad_aug", 4000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Steyr Aug Single", "models/weapons/w_rif_aug.mdl", "weapon_mad_aug", 500, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("SG552", "models/weapons/w_rif_sg552.mdl", "weapon_mad_sg552", 4000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("SG552 Single", "models/weapons/w_rif_sg552.mdl", "weapon_mad_sg552", 510, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("G3SG1", "models/weapons/w_snip_g3sg1.mdl", "weapon_mad_g3", 4000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("G3SG1 Single", "models/weapons/w_snip_g3sg1.mdl", "weapon_mad_g3", 500, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("SG550", "models/weapons/w_snip_sg550.mdl", "weapon_mad_sg550", 4000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("SG550 Single", "models/weapons/w_snip_sg550.mdl", "weapon_mad_sg550", 525, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Galil", "models/weapons/w_rif_galil.mdl", "weapon_mad_galil", 4000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Galil Single", "models/weapons/w_rif_galil.mdl", "weapon_mad_galil", 750, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "weapon_mad_ak47", 4000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("AK47 Single", "models/weapons/w_rif_ak47.mdl", "weapon_mad_ak47", 650, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("M4A1", "models/weapons/w_rif_m4a1.mdl", "weapon_mad_m4", 3900, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("M4A1 Single", "models/weapons/w_rif_m4a1.mdl", "weapon_mad_m4", 450, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Famas", "models/weapons/w_rif_famas.mdl", "weapon_mad_famas", 3900, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Famas Single", "models/weapons/w_rif_famas.mdl", "weapon_mad_famas", 450, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Acr", "models/weapons/w_masada_acr.mdl", "m9k_acr", 4000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Acr Single", "models/weapons/w_masada_acr.mdl", "m9k_acr", 500, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("AMD 65", "models/weapons/w_amd_65.mdl", "m9k_amd65", 5000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("AMD 65 Single", "models/weapons/w_amd_65.mdl", "m9k_amd65", 600, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("FN FAL", "models/weapons/w_fn_fal.mdl", "m9k_fal", 4000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("FN FAL Single", "models/weapons/w_fn_fal.mdl", "m9k_fal", 550, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("M14", "models/weapons/w_snip_m14sp.mdl", "m9k_m14sp", 5000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("M14 Single", "models/weapons/w_snip_m14sp.mdl", "m9k_m14sp", 525, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("M16 Scoped", "models/weapons/w_dmg_m16ag.mdl", "m9k_m16a4_acog", 5250, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("M16 Scoped Single", "models/weapons/w_dmg_m16ag.mdl", "m9k_m16a4_acog", 575, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("HK 16", "models/weapons/w_hk_416.mdl", "m9k_m416", 5000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("HK 16 Single", "models/weapons/w_hk_416.mdl", "m9k_m416", 550, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Scar", "models/weapons/w_fn_scar_h.mdl", "m9k_scar", 6000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Scar Single", "models/weapons/w_fn_scar_h.mdl", "m9k_scar", 725, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("TAR-21", "models/weapons/w_imi_tar21.mdl", "m9k_tar21", 5000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("TAR-21 Single", "models/weapons/w_imi_tar21.mdl", "m9k_tar21", 525, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Val", "models/weapons/w_dmg_vally.mdl", "m9k_val", 5575, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Val Single", "models/weapons/w_dmg_vally.mdl", "m9k_val", 550, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("SR-3M Vikhr", "models/weapons/w_dmg_vikhr.mdl", "m9k_vikhr", 5000, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("SR-3M Vikhr Single", "models/weapons/w_dmg_vikhr.mdl", "m9k_vikhr", 450, 1, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Winchester 73", "models/weapons/w_winchester_1873.mdl", "m9k_winchester73", 3500, 10, false, 0, false, {TEAM_WDEALER})
AddCustomShipment("Winchester 73 Single", "models/weapons/w_winchester_1873.mdl", "m9k_winchester73", 400, 1, false, 0, false, {TEAM_WDEALER})

btw all of the TEAM_DRUG and TEAM_EDEALER works most of the TEAM_ WDEALER works and only the pistols work for TEAM_GUN

It’s a variable in darkrp/gamemode/config.lua.

Search around. I fgorget what it’s called but one of them disabled buying weapons.