'Too Many Lua Errors' (Please Read)

If this isn’t the right thread, I’m sorry. This is my first post and I signed up just to post this.

Ok, to start off, I know NOTHING about lua. I recently fired my coder, and everyone was asking me to add more M9K shipments (There was only 1 at the time, one reason he was fired). I copied the format of the shipment he did. I changed the name, entity name, and model. To do this I used a gma unpacker, so I could get the models, and entitity names. Now, no one can join my server. Everyone gets ‘Too many lua errors’. If you could please take a moment of your time, and read my addentities.lua, and tell me how to fix it, or just re-paste it and fix it yourself, that’d just be amazing.


AddCustomShipment("Desert eagle", {
model = "models/weapons/w_pist_deagle.mdl",
entity = "weapon_deagle2",
price = 215,
amount = 10,
seperate = true,
pricesep = 215,
noship = true,
allowed = {TEAM_GUN}
})

AddCustomShipment("Fiveseven", {
model = "models/weapons/w_pist_fiveseven.mdl",
entity = "weapon_fiveseven2",
price = 0,
amount = 10,
seperate = true,
pricesep = 205,
noship = true,
allowed = {TEAM_GUN}
})

AddCustomShipment("Glock", {
model = "models/weapons/w_pist_glock18.mdl",
entity = "weapon_glock2",
price = 0,
amount = 10,
seperate = true,
pricesep = 160,
noship = true,
allowed = {TEAM_GUN}
})

AddCustomShipment("P228", {
model = "models/weapons/w_pist_p228.mdl",
entity = "weapon_p2282",
price = 0,
amount = 10,
seperate = true,
pricesep = 185,
noship = true,
allowed = {TEAM_GUN}
})

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

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

AddCustomShipment("M4", {
model = "models/weapons/w_rif_m4a1.mdl",
entity = "weapon_m42",
price = 2450,
amount = 10,
seperate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUN}
})

AddCustomShipment("Mac 10", {
model = "models/weapons/w_smg_mac10.mdl",
entity = "weapon_mac102",
price = 2150,
amount = 10,
seperate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUN}
})

AddCustomShipment("Pump shotgun", {
model = "models/weapons/w_shot_m3super90.mdl",
entity = "weapon_pumpshotgun2",
price = 1750,
amount = 10,
seperate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUN}
})

AddCustomShipment("Sniper rifle", {
model = "models/weapons/w_snip_g3sg1.mdl",
entity = "ls_sniper",
price = 3750,
amount = 10,
seperate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUN}
})

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

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

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

AddEntity("Topaz Printer", {
        ent = "topaz_money_printer",
        model = "models/props_c17/consolebox01a.mdl",
        price = 4000,
        max = 2,
        cmd = "/buytopaz"
})
 
AddEntity("Amethyst Printer", {
        ent = "amethyst_money_printer",
        model = "models/props_c17/consolebox01a.mdl",
        price = 9500,
        max = 2,
        cmd = "/buyamethyst"
})
 
AddEntity("Emerald Printer", {
        ent = "emerald_money_printer",
        model = "models/props_c17/consolebox01a.mdl",
        price = 15700,
        max = 2,
        cmd = "/buyemerald"
})
 
AddEntity("Ruby Printer", {
        ent = "ruby_money_printer",
        model = "models/props_c17/consolebox01a.mdl",
        price = 30000,
        max = 2,
        cmd = "/buyruby"
})
 
AddEntity("Sapphire Printer", {
        ent = "sapphire_money_printer",
        model = "models/props_c17/consolebox01a.mdl",
        price = 100000,
        max = 2,
        cmd = "/buysapphire"
})

AddCustomVehicle("auditttdm", "models/tdmcars/auditt.mdl", 20000, {TEAM_CARDEALER})

AddCustomVehicle("c4tdm", "models/tdmcars/c4",800 , {TEAM_CARDEALER})
AddCustomVehicle("focusrstdm", "models/tdmcars/focusrs",20000 , {TEAM_CARDEALER})
AddCustomVehicle("eb110tdm", "models/tdmcars/eb110",500000 , {TEAM_CARDEALER})
AddCustomVehicle("dbstdm", "models/tdmcars/dbs",95800 , {TEAM_CARDEALER})
AddCustomVehicle("coupe40tdm", "models/tdmcars/coupe40",23500 , {TEAM_CARDEALER})
AddCustomVehicle("sparktdm", "models/tdmcars/spark",15000 , {TEAM_CARDEALER})
AddCustomVehicle("69camarotdm", "models/tdmcars/69camarot",30000 , {TEAM_CARDEALER})
AddCustomVehicle("chevellesstdm", "models/tdmcars/chevelless",20000 , {TEAM_CARDEALER})
AddCustomVehicle("beetle67tdm", "models/tdmcars/beetle67",10000 , {TEAM_CARDEALER})
AddCustomVehicle("cooper65tdm", "models/tdmcars/cooper65",15500 , {TEAM_CARDEALER})
AddCustomVehicle("bmwm5e60tdm", "models/tdmcars/bmwm5e60",40000 , {TEAM_CARDEALER})
AddCustomVehicle("golf3tdm", "models/tdmcars/golf3",20000 , {TEAM_CARDEALER})



-- ADD CUSTOM SHIPMENTS HERE(next line):

AddCustomShipment("UMP45", {
	model = "models/weapons/w_hk_ump45.mdl",
	entity = "m9k_ump45",
	price = 0,
	amount = 10,
	seperate = true,
	pricesep = 205,
	noship = true,
	allowed = {TEAM_GUN}
})
	
     
    
     
    AddCustomShipment("UZI", {
            model = "models/weapons/w_uzi_imi.mdl",
            entity = "m9k_uzi",
            price = 5500,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })

    AddCustomShipment("MP7 Silenced", {
            model = "models/weapons/w_mp7_silenced.mdl",
            entity = "m9k_mp7",
            price = 5000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
	
    AddCustomShipment("MP5", {
            model = "models/weapons/w_hk_mp5.mdl",
            entity = "m9k_mp5",
            price = 4000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
     
    
     
    AddCustomShipment("Bizon", {
            model = "models/weapons/w_pp19_bizon.mdl",
            entity = "m9k_bizonp19",
            price = 6750,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
     
    
     
    AddCustomShipment("PDW", {
            model = "models/weapons/w_kac_pdw.mdl",
            entity = "m9k_kac_pdw",
            price = 4750,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
     
    
     
    AddCustomShipment("Glock 18", {
            model = "models/weapons/w_dmg_glock.mdl",
            entity = "m9k_glock",
            price = 4200,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })    
     
    AddCustomShipment("AW50", {
            model = "models/weapons/w_acc_int_aw50.mdl",
            entity = "m9k_aw50",
            price = 9000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
     
    
     
    AddCustomShipment("Double Barrel Shotgun", {
            model = "models/weapons/w_double_barrel_shotgun.mdl",
            entity = "m9k_dbarrel",
            price = 2000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
     
    
     
    AddCustomShipment("SVD Dragunov", {
            model = "models/weapons/w_dragunov_svu.mdl",
            entity = "m9k_dragunov",
            price = 7000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
     
    
     
    AddCustomShipment("Ithaca M37", {
            model = "models/weapons/w_ithaca_m37.mdl",
            entity = "m9k_ithacam37",
            price = 12000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
     
    
     
    AddCustomShipment("Remington 870 AE", {
            model = "models/weapons/w_remington_870_tact.mdl",
            entity = "m9k_remington870",
            price = 5750,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
     
    
     
    AddCustomShipment("M24", {
            model = "models/weapons/w_snip_m24_6.mdl",
            entity = "m9k_m24",
            price = 9500,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
     
    
     
    AddCustomShipment("Colt 1911", {
            model = "models/weapons/s_dmgf_co1911.mdl",
            entity = "m9k_colt1911",
            price = 2350,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
     
    
     
    AddCustomShipment("Colt Python", {
            model = "models/weapons/w_colt_python.mdl",
            entity = "m9k_coltpython",
            price = 2750,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
     
    
     
    AddCustomShipment("Deagle", {
            model = "models/weapons/w_tcom_deagle.mdl",
            entity = "m9k_deagle",
            price = 3250,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
    })
     
 
     
    AddCustomShipment("Raging Bull", {
            model = "models/weapons/w_raging_bull_scoped.mdl",
            entity = "m9k_ragingbull",
            price = 3000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
  
 
     
    AddCustomShipment("Spas 12", {
            model = "models/weapons/w_spas_12.mdl",
            entity = "m9k_spas12",
            price = 7500,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     })
    
 
     
    AddCustomShipment("AK-47", {
            model = "models/weapons/w_ak47_m9k.mdl",
            entity = "m9k_ak47",
            price = 8500,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
    
 
     
    AddCustomShipment("AUGA3", {
            model = "models/weapons/w_auga3.mdl",
            entity = "m9k_auga3",
            price = 7050,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
    
 
     
    AddCustomShipment("M16 Acog", {
            model = "models/weapons/w_dmg_m16ag.mdl",
            entity = "m9k_m16a4_acog",
            price = 7450,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
    
 
     
    AddCustomShipment("M4A1", {
            model = "models/weapons/w_m4a1_iron.mdl",
            entity = "m9k_m4a1",
            price = 7000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
    
 
     
    AddCustomShipment("L85A2", {
            model = "models/weapons/w_l85a2.mdl",
            entity = "m9k_l85",
            price = 8000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })    
 
     
    AddCustomShipment("Scoped Ak-47", {
            model = "models/weapons/w_tct_ak47.mdl",
            entity = "m9k_ak47",
            price = 9000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })    
 
     
    AddCustomShipment("Famas", {
            model = "models/weapons/w_tct_famas.mdl",
            entity = "m9k_famas",
            price = 8500,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })    
 
     
    AddCustomShipment("M14", {
            model = "models/weapons/w_snip_m14sp.mdl",
            entity = "m9k_m14sp",
            price = 7600,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })    
 
     
    AddCustomShipment("ACR", {
            model = "models/weapons/w_masada_acr.mdl",
            entity = "m9k_acr",
            price = 8670,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
    
 
     
    AddCustomShipment("Tar-21", {
            model = "models/weapons/w_imi_tar21.mdl",
            entity = "m9k_tar21",
            price = 7459,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
    
 
     
    AddCustomShipment("G36C", {
            model = "models/weapons/w_hk_g36c.mdl",
            entity = "m9k_g36",
            price = 8500,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
    
 
     
    AddCustomShipment("HK G3", {
            model = "models/weapons/w_hk_g3.mdl",
            entity = "m9k_g3a3",
            price = 8250,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
    
 
     
    AddCustomShipment("HK 416", {
            model = "models/weapons/w_hk_416.mdl",
            entity = "m9k_m416",
            price = 8670,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
    
 
     
    AddCustomShipment("Scar-H", {
            model = "models/weapons/w_fn_scar_h.mdl",
            entity = "m9k_scar",
            price = 8780,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
    
 
     
    AddCustomShipment("FN-Fal", {
            model = "models/weapons/w_fn_fal.mdl",
            entity = "m9k_fal",
            price = 7650,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
    
 
     
    AddCustomShipment("F200", {
            model = "models/weapons/w_fn_f200.mdl",
            entity = "m9k_f2000",
            price = 8000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_GUN}
     
     
    })
  
    AddCustomShipment("Aspirin", {
            model = "models/jaanus/aspbtl.mdl",
            entity = "durgz_aspirin",
            price = 500,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_Drug}
    })
	
    AddCustomShipment("Heroine", {
            model = "models/katharsmodels/syringe_out/syringe_out.mdl",
            entity = "durgz_heroine",
            price = 600,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_Drug}
    })
	
    AddCustomShipment("Weed", {
            model = "models/nater/weedplant_pot_growing7.mdl",
            entity = "durgz_weed",
            price = 1000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_Drug}
    })
	
    AddCustomShipment("Magic Mushrooms", {
            model = "durgz_mushroomdurgz_mushroom",
            entity = "durgz_mushroom",
            price = 550,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_Drug}
    })

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

    AddCustomShipment("PCP", {
            model = "models/drug_mod/alcohol_can.mdl",
            entity = "durgz_pcp",
            price = 1000,
            amount = 10,
            seperate = false,
            pricesep = nil,
            noship = false,
            allowed = {TEAM_Drug}
    })

( I AM LOOKING FOR A CODER(FREE I HAVE NO MONEY))
ADD ME ON STEAM. NAME: Ryan USERNAME: xFrostyX

Paste the Lua error here.

What do you mean?

Put sv_kickerrornum 0 in your server.cfg.

Also, no one is going to code for free.

Actually, my old coder coded for free

Then why’d you fire him?

He only coded a couple jobs, then stopped getting on the server, and he wouldn’t take 2 seconds to change the price of one of the printers.

I used to have a coder but he turned on the server and hacked it. Bye Bye!

It’s not hacking if he knows the password…

He didn’t he had access to certain folders of FTP and had RCON

If he has the rcon password then he basically doesn’t need anything else.