DArkrp erroring out



AddCustomShipment("Acr", {  "models/weapons/w_masada_acr.mdl", "m9k_acr", 40000, 10, true, 4000, true, {TEAM_HEAVY} })
AddCustomShipment("AMD 65", {  "models/weapons/w_amd_65.mdl", "m9k_amd65", 50000, 10, true, 5000, true, {TEAM_HEAVY} })
AddCustomShipment("FN FAL", {  "models/weapons/w_fn_fal.mdl", "m9k_fal", 40000, 10, true, 4000, true, {TEAM_HEAVY} })
AddCustomShipment("M14", {  "models/weapons/w_snip_m14sp.mdl", "m9k_m14sp", 50000, 10, true, 5000, true, {TEAM_HEAVY} })
AddCustomShipment("M16 Scoped", {  "models/weapons/w_dmg_m16ag.mdl", "m9k_m16a4_acog", 52500, 10, true, 5250, true, {TEAM_HEAVY} })
AddCustomShipment("HK 16", {  "models/weapons/w_hk_416.mdl", "m9k_m416", 50000, 10, true, 5000, true, {TEAM_HEAVY} })
AddCustomShipment("Scar", {  "models/weapons/w_fn_scar_h.mdl", "m9k_scar", 60000, 10, true, 6000, true, {TEAM_HEAVY} })
AddCustomShipment("TAR-21", {  "models/weapons/w_imi_tar21.mdl", "m9k_tar21", 50000, 10, true, 5000, true, {TEAM_HEAVY} })
AddCustomShipment("Val", {  "models/weapons/w_dmg_vally.mdl", "m9k_val", 55750, 10, true, 5575, true, {TEAM_HEAVY} })
AddCustomShipment("SR-3M Vikhr", {  "models/weapons/w_dmg_vikhr.mdl", "m9k_vikhr", 50000, 10, true, 5000, true, {TEAM_HEAVY} })
AddCustomShipment("Winchester 73", {  "models/weapons/w_winchester_1873.mdl", "m9k_winchester73", 35000, 10, true, 3500, true, {TEAM_HEAVY} })
 
-- Pistol
AddCustomShipment("Python", {  "models/weapons/w_colt_python.mdl", "m9k_coltpython", 5000, 10, true, 500, true, {TEAM_LIGHT} })
AddCustomShipment("Colt 1911", {  "models/weapons/s_dmgf_co1911.mdl", "m9k_colt1911", 1500, 10, true, 150, true, {TEAM_LIGHT} })
AddCustomShipment("HK 45C", {  "models/weapons/w_hk45c.mdl", "m9k_hk45", 1500, 10, true, 150, true, {TEAM_LIGHT} })
AddCustomShipment("Luger", {  "models/weapons/w_luger_p08.mdl", "m9k_luger", 1200, 10, true, 120, true, {TEAM_LIGHT} })
AddCustomShipment("Raging Bull", {  "models/weapons/w_hk45c.mdl", "m9k_ragingbull", 3000, 10, true, 300, true, {TEAM_LIGHT} })
AddCustomShipment("S&W 500", {  "models/weapons/w_sw_model_500.mdl", "m9k_model500", 7500, 10, true, 750, true, {TEAM_LIGHT} })
AddCustomShipment("M29 Satan", {  "models/weapons/w_m29_satan.mdl", "m9k_m29satan", 3000, 10, true, 300, true, {TEAM_LIGHT} })
AddCustomShipment("Baretta", {  "models/weapons/w_beretta_m92.mdl", "m9k_m92baretta", 4000, 10, true, 400, true, {TEAM_LIGHT} })
AddCustomShipment("S&W Model 3 Russian", {  "models/weapons/w_model_3_rus.mdl", "m9k_model3russian", 3000, 10, true, 300, true, {TEAM_LIGHT} })
AddCustomShipment("S&W 627", {  "models/weapons/w_sw_model_627.mdl", "m9k_model627", 3000, 10, true, 300, true, {TEAM_LIGHT} })
 
-- Shotguns
AddCustomShipment("1887 Winchester", {  "models/weapons/w_winchester_1887.mdl", "m9k_1887winchester", 40000, 10, true, 4000, true, {TEAM_HEAVY} })
AddCustomShipment("Double Barrel", {  "models/weapons/w_double_barrel_shotgun.mdl", "m9k_dbarrel", 20000, 10, true, 2000, true, {TEAM_HEAVY} })
AddCustomShipment("Jack Hammer", {  "models/weapons/w_pancor_jackhammer.mdl", "m9k_jackhammer", 80000, 10, true, 8000, true, {TEAM_HEAVY} })
AddCustomShipment("Benelli M3", {  "models/weapons/w_benelli_m3.mdl", "m9k_m3", 45000, 10, true, 4500, true, {TEAM_HEAVY} })
AddCustomShipment("Ithaca M37", {  "models/weapons/w_ithaca_m37.mdl", "m9k_ithacam37", 30000, 10, true, 3000, true, {TEAM_HEAVY} })
AddCustomShipment("Mossberg", {  "models/weapons/w_mossberg_590.mdl", "m9k_mossberg590", 30000, 10, true, 3000, true, {TEAM_HEAVY} })
AddCustomShipment("Remington 870", {  "models/weapons/w_remington_870_tact.mdl", "m9k_remington870", 25000, 10, true, 2500, true, {TEAM_HEAVY} })
AddCustomShipment("1897 Winchester", {  "models/weapons/w_winchester_1897_trench.mdl", "m9k_1897winchester", 40000, 10, true, 4000, true, {TEAM_HEAVY} })
 
-- Sniper Rifle
AddCustomShipment("Barret M82", {  "models/weapons/w_barret_m82.mdl", "m9k_barret_m82", 10000, 10, true, 1000, true, {TEAM_HEAVY} })
AddCustomShipment("Barret M98B", {  "models/weapons/w_barrett_m98b.mdl", "m9k_m98b", 11000, 10, true, 1100, true, {TEAM_HEAVY} })
AddCustomShipment("SVT 40", {  "models/weapons/w_svt_40.mdl", "m9k_svt40", 50000, 10, true, 5000, true, {TEAM_HEAVY} })
AddCustomShipment("Dragunov SVU", {  "models/weapons/w_dragunov_svu.mdl", "m9k_svu", 80000, 10, true, 8000, true, {TEAM_HEAVY} })
AddCustomShipment("SVD Dragunov", {  "models/weapons/w_svd_dragunov.mdl", "m9k_dragunov", 85000, 10, true, 8500, true, {TEAM_HEAVY} })
AddCustomShipment("Intervention", {  "models/weapons/w_snp_int.mdl", "m9k_intervention", 90000, 10, true, 9000, true, {TEAM_HEAVY} })
AddCustomShipment("PSG-1", {  "models/weapons/w_hk_psg1.mdl", "m9k_psg1", 70000, 10, true, 7000, true, {TEAM_HEAVY} })
AddCustomShipment("AW 50", {  "models/weapons/w_acc_int_aw50.mdl", "m9k_aw50", 10000, 10, true, 1000, true, {TEAM_HEAVY} })
AddCustomShipment("M24", {  "models/weapons/w_snip_m24_6.mdl", "m9k_m24", 70000, 10, true, 7000, true, {TEAM_HEAVY} })
AddCustomShipment("Remington 7615P", {  "models/weapons/w_remington_7615p.mdl", "m9k_remington7615p", 80000, 10, true, 8000, true, {TEAM_HEAVY} })
AddCustomShipment("Thompson Condender", {  "models/weapons/w_g2_contender.mdl", "m9k_contender", 50000, 10, true, 5000, true, {TEAM_HEAVY} })
 
 
-- Machine Guns
AddCustomShipment("FG42", {  "models/weapons/w_fg42.mdl", "m9k_fg42", 500000, 10, true, 50000, true, {TEAM_HEAVY} })
AddCustomShipment("M60", {  "models/weapons/w_m60_machine_gun.mdl", "m9k_m60", 200000, 10, true, 20000, true, {TEAM_HEAVY} })
 
-- Sub Machine Guns
AddCustomShipment("MP5 - Silenced", {  "models/weapons/w_hk_mp5.mdl", "m9k_mp5sd", 50000, 10, true, 5000, true, {TEAM_LIGHT} })
AddCustomShipment("MP7", {  "models/weapons/w_mp7_silenced.mdl", "m9k_mp7", 40000, 10, true, 4000, true, {TEAM_LIGHT} })
AddCustomShipment("MP9", {  "models/weapons/w_brugger_thomet_mp9.mdl", "m9k_mp9", 42500, 10, true, 4250, true, {TEAM_LIGHT} })
AddCustomShipment("Honey Badger", {  "models/weapons/w_aac_honeybadger.mdl", "m9k_honeybadger", 40000, 10, true, 4000, true, {TEAM_LIGHT} })
AddCustomShipment("UZI", {  "models/weapons/w_uzi_imi.mdl", "m9k_uzi", 25000, 10, true, 2500, true, {TEAM_LIGHT} })
AddCustomShipment("KAC PDW", {  "models/weapons/w_kac_pdw.mdl", "m9k_kac_pdw", 40000, 10, true, 4000, true, {TEAM_LIGHT} })
AddCustomShipment("Magpul PDR", {  "models/weapons/w_magpul_pdr.mdl", "m9k_magpulpdr", 40000, 10, true, 4000, true, {TEAM_LIGHT} })
AddCustomShipment("KRISS Vector", {  "models/weapons/w_kriss_vector.mdl", "m9k_vector", 37500, 10, true, 3750, true, {TEAM_LIGHT} })
AddCustomShipment("HK USC", {  "models/weapons/w_hk_usc.mdl", "m9k_usc", 35000, 10, true, 3500, true, {TEAM_LIGHT} })
AddCustomShipment("STEN", {  "models/weapons/w_sten.mdl", "m9k_sten", 40000, 10, true, 4000, true, {TEAM_LIGHT} })
AddCustomShipment("TEC 9", {  "models/weapons/w_intratec_tec9.mdl", "m9k_tec9", 32500, 10, true, 3250, true, {TEAM_LIGHT} })
 
-- Grenade
AddCustomShipment("Sticky Grenade", {  "models/weapons/w_grenade.mdl", "m9k_sticky_grenade", 30000, 5, true, 3000, false, {TEAM_BLACK} })




[ERROR] gamemodes/darkrp/gamemode/modules/f4menu/cl_menuitem.lua:47: bad argument #1 to 'SetModel' (string expected, got nil)
  1. SetModel - [C]:-1
   2. SetModel - gamemodes/darkrp/gamemode/modules/f4menu/cl_menuitem.lua:47
    3. setDarkRPItem - gamemodes/darkrp/gamemode/modules/f4menu/cl_menuitem.lua:153
     4. generateButtons - gamemodes/darkrp/gamemode/modules/f4menu/cl_entitiestab.lua:131
      5. Init - gamemodes/darkrp/gamemode/modules/f4menu/cl_entitiestab.lua:8
       6. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:153
        7. F4MenuTabs - gamemodes/darkrp/gamemode/modules/f4menu/cl_init.lua:64
         8. generateTabs - gamemodes/darkrp/gamemode/modules/f4menu/cl_frame.lua:176
          9. openF4Menu - gamemodes/darkrp/gamemode/modules/f4menu/cl_init.lua:12
           10. Call - gamemodes/darkrp/gamemode/modules/f4menu/cl_init.lua:24
            11. unknown - gamemodes/darkrp/gamemode/modules/base/cl_gamemode_functions.lua:46





[ERROR] gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:506: bad argument #1 to 'PrecacheModel' (string expected, got nil)
  1. PrecacheModel - [C]:-1
   2. AddCustomShipment - gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:506
    3. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/shipments.lua:1
     4. include - [C]:-1
      5. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:111
       6. fn - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:119
        7. unknown - addons/ulib/lua/ulib/shared/hook.lua:183


help?

For starters, your code should not look like that.

Read here: http://wiki.darkrp.com/index.php/DarkRP:CustomShipmentFields