• m9k single shipments shows on all jobs HELP!
    2 replies, posted
I spent hours doing all of these but now only the singles show on every job and the shipments stay only on gun dealer. Here is the code. [CODE]AddEntity("Money printer", { ent = "money_printer", model = "models/props_c17/consolebox01a.mdl", price = 1500, max = 2, cmd = "buymoneyprinter" }) AddEntity("Bronze Money Printer", { ent = "money_printer2", model = "models/props_c17/consolebox01a.mdl", price = 3000, max = 2, cmd = "buymoneyprinter2" }) AddEntity("Silver Money Printer", { ent = "money_printer3", model = "models/props_c17/consolebox01a.mdl", price = 4000, max = 1, cmd = "buymoneyprinter3" }) AddEntity("Gold Money Printer", { ent = "money_printer4", model = "models/props_c17/consolebox01a.mdl", price = 5000, max = 1, cmd = "buymoneyprinter4" }) AddEntity("Diamond Money Printer", { ent = "money_printer5", model = "models/props_c17/consolebox01a.mdl", price = 7500, max = 1, cmd = "buymoneyprinter5" }) AddEntity("Graphene Money Printer", { ent = "money_printer6", model = "models/props_c17/consolebox01a.mdl", price = 10000, max = 1, cmd = "buymoneyprinter6" }) AddEntity("VIP Money Printer", { ent = "money_printer7", model = "models/props_c17/consolebox01a.mdl", price = 7800, max = 1, cmd = "buymoneyprinter7", customCheck = function(ply) return ply:IsUserGroup("vip") or ply:IsAdmin() end, CustomCheckFailMsg = "This printer is VIP only!" }) AddEntity("VIP Money Printer", { ent = "money_printer8", model = "models/props_c17/consolebox01a.mdl", price = 9500, max = 1, cmd = "buymoneyprinter8", customCheck = function(ply) return ply:IsUserGroup("vip") or ply:IsAdmin() end, CustomCheckFailMsg = "This printer is VIP only!" }) AddEntity("VIP Plus Money Printer", { ent = "money_printer9", model = "models/props_c17/consolebox01a.mdl", price = 11500, max = 1, cmd = "buymoneyprinter9", customCheck = function(ply) return ply:IsUserGroup("vip plus") or ply:IsAdmin() end, CustomCheckFailMsg = "This printer is VIP only!" }) AddEntity("VIP Plus Money Printer", { ent = "money_printer10", model = "models/props_c17/consolebox01a.mdl", price = 12500, max = 1, cmd = "buymoneyprinter10", customCheck = function(ply) return ply:IsUserGroup("vip plus") or ply:IsAdmin() end, CustomCheckFailMsg = "This printer is VIP only!" }) AddEntity("Printer Cooler", { ent = "printer_cooler", model = "models/props_lab/reciever01a.mdl", price = 1250, max = 10, cmd = "buycooler" }) AddEntity("Printer Speed", { ent = "printer_timer", model = "models/props_lab/reciever01a.mdl", price = 1250, max = 10, cmd = "buytimer" }) AddEntity("Printer Amount", { ent = "printer_amount", model = "models/props_lab/reciever01a.mdl", price = 1250, max = 10, cmd = "buyamount" }) AddEntity("Printer Silencer", { ent = "printer_silencer", model = "models/props_lab/reciever01a.mdl", price = 1250, max = 10, cmd = "buysilencer" }) AddEntity("Printer Armor", { ent = "printer_armor", model = "models/props_lab/reciever01a.mdl", price = 1250, max = 10, cmd = "buyarmor" }) DarkRP.createAmmoType("pistol", { name = "Pistol Ammo", model = "models/Items/BoxSRounds.mdl", price = 25, amountGiven = 12 }) DarkRP.createAmmoType("buckshot", { name = "Shotgun Ammo", model = "models/Items/BoxBuckshot.mdl", price = 50, amountGiven = 4 }) DarkRP.createAmmoType("smg1", { name = "Smg Ammo", model = "models/Items/BoxMRounds.mdl", price = 75, amountGiven = 24 }) DarkRP.createAmmoType("smg2", { name = "Rifle Ammo", model = "models/Items/BoxMRounds.mdl", price = 75, amountGiven = 30 }) DarkRP.createShipment("Desert Eagle", { model = "models/weapons/w_tcom_deagle.mdl", entity = "m9k_deagle", price = 3000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Python", { model = "models/weapons/w_colt_python.mdl", entity = "m9k_coltpython", price = 5000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Python Single", { model = "models/weapons/w_colt_python.mdl", entity = "m9k_coltpython", price = 700, amount = 1, seperate = true, pricesep = 500, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("Colt 1911", { model = "models/weapons/s_dmgf_co1911.mdl", entity = "m9k_colt1911", price = 4000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Colt 1911 Single", { model = "models/weapons/s_dmgf_co1911.mdl", entity = "m9k_colt1911", price = 350, amount = 1, seperate = true, pricesep = 150, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("HK 45C", { model = "models/weapons/w_hk45c.mdl", entity = "m9k_hk45", price = 2000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("HK 45C Single", { model = "models/weapons/w_hk45c.mdl", entity = "m9k_hk45", price = 250, amount = 1, seperate = true, pricesep = 200, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("Luger", { model = "models/weapons/w_luger_p08.mdl", entity = "m9k_luger", price = 1500, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Luger Single", { model = "models/weapons/w_luger_p08.mdl", entity = "m9k_luger", price = 100, amount = 1, seperate = true, pricesep = 100, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("Raging Bull", { model = "models/weapons/w_hk45c.mdl", entity = "m9k_ragingbull", price = 5200, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Raging Bull Single", { model = "models/weapons/w_hk45c.mdl", entity = "m9k_ragingbull", price = 600, amount = 1, seperate = true, pricesep = 600, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("S&W 500", { model = "models/weapons/w_sw_model_500.mdl", entity = "m9k_model500", price = 10000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("S&W 500 Single", { model = "models/weapons/w_sw_model_500.mdl", entity = "m9k_model500", price = 1000, amount = 1, seperate = true, pricesep = 550, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("M29 Satan", { model = "models/weapons/w_m29_satan.mdl", entity = "m9k_m29satan", price = 4000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M29 Satan Single", { model = "models/weapons/w_m29_satan.mdl", entity = "m9k_m29satan", price = 500, amount = 1, seperate = true, pricesep = 750, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("Baretta", { model = "models/weapons/w_beretta_m92.mdl", entity = "m9k_m92baretta", price = 3000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Baretta Single", { model = "models/weapons/w_beretta_m92.mdl", entity = "m9k_m92baretta", price = 400, amount = 1, seperate = true, pricesep = 200, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("S&W Model 3 Russian", { model = "models/weapons/w_model_3_rus.mdl", entity = "m9k_model3russian", price = 3000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("S&W Model 3 Russian Single", { model = "models/weapons/w_model_3_rus.mdl", entity = "m9k_model3russian", price = 400, amount = 1, seperate = true, pricesep = 400, noship = true, allowed = {TEAM_GUN} }) DarkRP.cre
You must make noship = false if you want the guns to be shipments. I can see quite a few that are set to true, I don't know if you meant to do it or not. edit: Do you mean that everyone can buy single weapons now? Check the console for any lua errors.
[QUOTE=Abyss | White;46090380]I spent hours doing all of these but now only the singles show on every job and the shipments stay only on gun dealer. Here is the code. [CODE]AddEntity("Money printer", { ent = "money_printer", model = "models/props_c17/consolebox01a.mdl", price = 1500, max = 2, cmd = "buymoneyprinter" }) AddEntity("Bronze Money Printer", { ent = "money_printer2", model = "models/props_c17/consolebox01a.mdl", price = 3000, max = 2, cmd = "buymoneyprinter2" }) AddEntity("Silver Money Printer", { ent = "money_printer3", model = "models/props_c17/consolebox01a.mdl", price = 4000, max = 1, cmd = "buymoneyprinter3" }) AddEntity("Gold Money Printer", { ent = "money_printer4", model = "models/props_c17/consolebox01a.mdl", price = 5000, max = 1, cmd = "buymoneyprinter4" }) AddEntity("Diamond Money Printer", { ent = "money_printer5", model = "models/props_c17/consolebox01a.mdl", price = 7500, max = 1, cmd = "buymoneyprinter5" }) AddEntity("Graphene Money Printer", { ent = "money_printer6", model = "models/props_c17/consolebox01a.mdl", price = 10000, max = 1, cmd = "buymoneyprinter6" }) AddEntity("VIP Money Printer", { ent = "money_printer7", model = "models/props_c17/consolebox01a.mdl", price = 7800, max = 1, cmd = "buymoneyprinter7", customCheck = function(ply) return ply:IsUserGroup("vip") or ply:IsAdmin() end, CustomCheckFailMsg = "This printer is VIP only!" }) AddEntity("VIP Money Printer", { ent = "money_printer8", model = "models/props_c17/consolebox01a.mdl", price = 9500, max = 1, cmd = "buymoneyprinter8", customCheck = function(ply) return ply:IsUserGroup("vip") or ply:IsAdmin() end, CustomCheckFailMsg = "This printer is VIP only!" }) AddEntity("VIP Plus Money Printer", { ent = "money_printer9", model = "models/props_c17/consolebox01a.mdl", price = 11500, max = 1, cmd = "buymoneyprinter9", customCheck = function(ply) return ply:IsUserGroup("vip plus") or ply:IsAdmin() end, CustomCheckFailMsg = "This printer is VIP only!" }) AddEntity("VIP Plus Money Printer", { ent = "money_printer10", model = "models/props_c17/consolebox01a.mdl", price = 12500, max = 1, cmd = "buymoneyprinter10", customCheck = function(ply) return ply:IsUserGroup("vip plus") or ply:IsAdmin() end, CustomCheckFailMsg = "This printer is VIP only!" }) AddEntity("Printer Cooler", { ent = "printer_cooler", model = "models/props_lab/reciever01a.mdl", price = 1250, max = 10, cmd = "buycooler" }) AddEntity("Printer Speed", { ent = "printer_timer", model = "models/props_lab/reciever01a.mdl", price = 1250, max = 10, cmd = "buytimer" }) AddEntity("Printer Amount", { ent = "printer_amount", model = "models/props_lab/reciever01a.mdl", price = 1250, max = 10, cmd = "buyamount" }) AddEntity("Printer Silencer", { ent = "printer_silencer", model = "models/props_lab/reciever01a.mdl", price = 1250, max = 10, cmd = "buysilencer" }) AddEntity("Printer Armor", { ent = "printer_armor", model = "models/props_lab/reciever01a.mdl", price = 1250, max = 10, cmd = "buyarmor" }) DarkRP.createAmmoType("pistol", { name = "Pistol Ammo", model = "models/Items/BoxSRounds.mdl", price = 25, amountGiven = 12 }) DarkRP.createAmmoType("buckshot", { name = "Shotgun Ammo", model = "models/Items/BoxBuckshot.mdl", price = 50, amountGiven = 4 }) DarkRP.createAmmoType("smg1", { name = "Smg Ammo", model = "models/Items/BoxMRounds.mdl", price = 75, amountGiven = 24 }) DarkRP.createAmmoType("smg2", { name = "Rifle Ammo", model = "models/Items/BoxMRounds.mdl", price = 75, amountGiven = 30 }) DarkRP.createShipment("Desert Eagle", { model = "models/weapons/w_tcom_deagle.mdl", entity = "m9k_deagle", price = 3000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Python", { model = "models/weapons/w_colt_python.mdl", entity = "m9k_coltpython", price = 5000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Python Single", { model = "models/weapons/w_colt_python.mdl", entity = "m9k_coltpython", price = 700, amount = 1, seperate = true, pricesep = 500, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("Colt 1911", { model = "models/weapons/s_dmgf_co1911.mdl", entity = "m9k_colt1911", price = 4000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Colt 1911 Single", { model = "models/weapons/s_dmgf_co1911.mdl", entity = "m9k_colt1911", price = 350, amount = 1, seperate = true, pricesep = 150, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("HK 45C", { model = "models/weapons/w_hk45c.mdl", entity = "m9k_hk45", price = 2000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("HK 45C Single", { model = "models/weapons/w_hk45c.mdl", entity = "m9k_hk45", price = 250, amount = 1, seperate = true, pricesep = 200, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("Luger", { model = "models/weapons/w_luger_p08.mdl", entity = "m9k_luger", price = 1500, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Luger Single", { model = "models/weapons/w_luger_p08.mdl", entity = "m9k_luger", price = 100, amount = 1, seperate = true, pricesep = 100, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("Raging Bull", { model = "models/weapons/w_hk45c.mdl", entity = "m9k_ragingbull", price = 5200, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Raging Bull Single", { model = "models/weapons/w_hk45c.mdl", entity = "m9k_ragingbull", price = 600, amount = 1, seperate = true, pricesep = 600, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("S&W 500", { model = "models/weapons/w_sw_model_500.mdl", entity = "m9k_model500", price = 10000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("S&W 500 Single", { model = "models/weapons/w_sw_model_500.mdl", entity = "m9k_model500", price = 1000, amount = 1, seperate = true, pricesep = 550, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("M29 Satan", { model = "models/weapons/w_m29_satan.mdl", entity = "m9k_m29satan", price = 4000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M29 Satan Single", { model = "models/weapons/w_m29_satan.mdl", entity = "m9k_m29satan", price = 500, amount = 1, seperate = true, pricesep = 750, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("Baretta", { model = "models/weapons/w_beretta_m92.mdl", entity = "m9k_m92baretta", price = 3000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Baretta Single", { model = "models/weapons/w_beretta_m92.mdl", entity = "m9k_m92baretta", price = 400, amount = 1, seperate = true, pricesep = 200, noship = true, allowed = {TEAM_GUN} }) DarkRP.createShipment("S&W Model 3 Russian", { model = "models/weapons/w_model_3_rus.mdl", entity = "m9k_model3russian", price = 3000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("S&W Model 3 Russian Single", { model = "models/weapons/w_model_3_rus.mdl", entity = "m9k_model3russian", price = 400, amount = 1, seperate = true, pricesep = 400, noship = true, allowed
Sorry, you need to Log In to post a reply to this thread.