something causing LUA ERRORS :C

Hey guys, I am trying to add in more guns to a VIP merchant I am makeing and I keep getting this error on my friends sever:

[ERROR] gamemodes/darkrp/gamemode/shared.lua:215: function arguments expected near ‘==’

  1. unknown - gamemodes/darkrp/gamemode/shared.lua:0

[ERROR] gamemodes/darkrp/gamemode/addentities.lua:67: ‘)’ expected near ‘{’

  1. unknown - gamemodes/darkrp/gamemode/addentities.lua:0

I know were it is in my code I just can’t seem to find in here.



-- Entities
AddEntity("Gun lab", "gunlab", "models/props_c17/TrapPropeller_Engine.mdl", 500, 1, "/buygunlab", {TEAM_GUN}, {TEAM_VIPM})
AddEntity("Shopping Shelf", "neths_shopping_shelf", "models/props_c17/shelfunit01a.mdl", 500, 2, "/buyshoppingshelf", TEAM_GUN, {TEAM_VIPM})
AddEntity("Extinguisher", "weapon_extinguisher", "models/props/cs_office/fire_extinguisher.mdl", 1000, 4, "/buyextinguisher")

-- CS:S Weapons:
AddCustomShipment("M249", "models/weapons/w_mach_m249para.mdl", "cstm_rif_m249", 6000, 10, false, 0, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("Galil", "models/weapons/w_rif_galil.mdl", "cstm_rif_galil", 4000, 10, false, 0, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "cstm_rif_ak47", 4000, 10, false, 0, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("M4A1", "models/weapons/w_rif_m4a1.mdl", "weapon_mad_m4", 3900, 10, true, 900, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("Famas", "models/weapons/w_rif_famas.mdl", "cstm_rif_famas", 3900, 10, false, 0, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("AWP", "models/weapons/w_snip_awp.mdl", "cstm_sniper_awp", 5000, 10, false, 0, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("Scout", "models/weapons/w_snip_scout.mdl", "cstm_sniper_scout", 4500, 10, false, 0, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("Steyr Aug", "models/weapons/w_rif_aug.mdl", "cstm_sniper_aug", 4000, 10, false, 0, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("SG552", "models/weapons/w_rif_sg552.mdl", "cstm_sniper_sg552", 4000, 10, false, 0, false, {TEAM_GUN}{TEAM_VIPM,})
AddCustomShipment("G3SG1", "models/weapons/w_snip_g3sg1.mdl", "cstm_sniper_g3", 4000, 10, false, 0, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("SG550", "models/weapons/w_snip_sg550.mdl", "cstm_sniper_sg550", 4000, 10, false, 0, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("UMP45", "models/weapons/w_smg_ump45.mdl", "cstm_smg_ump45", 3600, 10, true, 800, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("P90", "models/weapons/w_smg_p90.mdl", "cstm_smg_p90", 3500, 10, true, 800, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("TMP", "models/weapons/w_smg_tmp.mdl", "cstm_smg_tmp", 3500, 10, true, 700, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("MP5", "models/weapons/w_smg_mp5.mdl", "cstm_smg_mp5", 3200, 10, false, 0, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("Mac-10", "models/weapons/w_smg_mac10.mdl", "cstm_smg_mac10", 3000, 10, true, 700, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("AutoShotgun", "models/weapons/w_shot_xm1014.mdl", "cstm_shotgun_xm1014", 3000, 10, false, 0, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("Shotgun", "models/weapons/w_shot_m3super90.mdl", "cstm_shotgun_m3", 2500, 10, true, 800, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("Deagle", "models/weapons/w_pist_deagle.mdl", "cstm_pistol_deagle", 2300, 10, true, 250, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("USP", "models/weapons/w_pist_usp.mdl", "weapon_mad_usp", 2200, 10, true, 240, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("P228", "models/weapons/w_pist_p228.mdl", "cstm_pistol_p228", 2100, 10, true, 220, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("Five-Seven", "models/weapons/w_pist_fiveseven.mdl", "cstm_pistol_fiveseven", 1900, 10, true, 200, false, {TEAM_GUN}{TEAM_VIPM})
AddCustomShipment("G3SG1", "models/weapons/w_snip_g3sg1.mdl", "cstm_sniper_g3", 3000, 10, false, 200, false, {TEAM_VIPM})
AddCustomShipment("SG550", "models/weapons/w_snip_sg550.mdl", "cstm_sniper_sg550", 3000, 10, false, 200, false, {TEAM_VIPM})
AddCustomShipment("SG552", "models/weapons/w_rif_sg552.mdl", "cstm_sniper_sg552", 3000, 10, false, 200, false, {TEAM_VIPM})

-- Drug Shipments 
AddCustomShipment("Weed x5", "models/katharsmodels/contraband/zak_wiet/zak_wiet.mdl", "durgz_weed", 1000, 5, true, 250, false, {TEAM_VIPM}{TEAM_DRUG})
AddCustomShipment("Weed x10", "models/katharsmodels/contraband/zak_wiet/zak_wiet.mdl", "durgz_weed", 2000, 10, false, 200, false, {TEAM_VIPM}{TEAM_DRUG})
AddCustomShipment("Weed x20", "models/katharsmodels/contraband/zak_wiet/zak_wiet.mdl", "durgz_weed", 3000, 20, false, 200, false, {TEAM_VIPM}{TEAM_DRUG})
AddCustomShipment("Cocaine", "models/cocn.mdl", "durgz_cocaine", 3000, 10, true, 500, false, {TEAM_VIPM}{TEAM_DRUG})
AddCustomShipment("Heroine", "models/katharsmodels/syringe_out/syringe_out.mdl", "durgz_cocaine", 2900, 10, true, 450, false, {TEAM_VIPM}{TEAM_DRUG})
AddCustomShipment("LSD", "models/smile/smile.mdl", "durgz_lsd", 2900, 10, true, 450, false, {TEAM_VIPM}{TEAM_DRUG})
AddCustomShipment("Mushrooms", "models/ipha/mushroom_small.mdl", "durgz_mushroom", 3000, 10, true, 450, false, {TEAM_VIPM}{TEAM_DRUG})
AddCustomShipment("Pills", "models/jaanus/aspbtl.mdl", "durgz_aspirin", 3500, 10, true, 500, false, {TEAM_VIPM}{TEAM_DRUG})



Yea i cant figure this one out.

simple mistake change all entities with multiple teams to this. (or the equivalent)


{TEAM_GUN, TEAM_VIPM}

thanks