Discord
Steam
/
Garry's Mod
/
Help
/
Cant get M9K s..
Login/Join
Event Log
Cant get M9K shipments to work?
4 replies, posted
Search
In This Thread
[CODE]--[[--------------------------------------------------------------------------- DarkRP custom shipments and guns --------------------------------------------------------------------------- This file contains your custom shipments and guns. This file should also contain shipments and guns from DarkRP that you edited. Note: If you want to edit a default DarkRP shipment, first disable it in darkrp_config/disabled_defaults.lua Once you've done that, copy and paste the shipment to this file and edit it. The default shipments and guns can be found here: https://github.com/FPtje/DarkRP/blob/master/gamemode/config/addentities.lua For examples and explanation please visit this wiki page: http://wiki.darkrp.com/index.php/DarkRP:CustomShipmentFields Add shipments and guns under the following line: ---------------------------------------------------------------------------]] --[[--------------------------------------------------------------------------- DarkRP custom shipments and guns --------------------------------------------------------------------------- This file contains your custom shipments and guns. This file should also contain shipments and guns from DarkRP that you edited. Note: If you want to edit a default DarkRP shipment, first disable it in darkrp_config/disabled_defaults.lua Once you've done that, copy and paste the shipment to this file and edit it. The default shipments and guns can be found here: https://github.com/FPtje/DarkRP/blob/master/gamemode/config/addentities.lua For examples and explanation please visit this wiki page: http://wiki.darkrp.com/index.php/DarkRP:CustomShipmentFields Impressive, Matt! Add shipments and guns under the following line: ---------------------------------------------------------------------------]] // PISTOLS // DarkRP.createShipment("Raging Bull", { model = "models/weapons/w_hk45c.mdl", entity = "m9k_ragingbull", price = 3000, amount = 10, seperate = false, pricesep = 300, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Python", "models/weapons/w_colt_python.mdl", "m9k_coltpython", 2500, 10, false, 250, false, {TEAM_GUN}) DarkRP.createShipment("Colt 1911", "models/weapons/s_dmgf_co1911.mdl", "m9k_colt1911", 1200, 10, false, 120, false, {TEAM_GUN}) DarkRP.createShipment("HK 45C", "models/weapons/w_hk45c.mdl", "m9k_hk45", 1500, 10, false, 150, false, {TEAM_GUN}) --DarkRP.createShipment("Luger", "models/weapons/w_luger_p08.mdl", "m9k_luger", 1200, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("Raging Bull", "models/weapons/w_hk45c.mdl", "m9k_ragingbull", 3000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("S&W 500", "models/weapons/w_sw_model_500.mdl", "m9k_model500", 2750, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("M29 Satan", "models/weapons/w_m29_satan.mdl", "m9k_m29satan", 3000, 10, false, nil, false, {TEAM_LIGHT}) --DarkRP.createShipment("Baretta", "models/weapons/w_beretta_m92.mdl", "m9k_m92baretta", 1400, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("S&W Model 3 Russian", "models/weapons/w_model_3_rus.mdl", "m9k_model3russian", 3000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("S&W 627", "models/weapons/w_sw_model_627.mdl", "m9k_model627", 3000, 10, false, nil, false, {TEAM_GUN}) // ASSAULT GUNS // --DarkRP.createShipment("Acr", "models/weapons/w_masada_acr.mdl", "m9k_acr", 4000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("AMD 65", "models/weapons/w_amd_65.mdl", "m9k_amd65", 5000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("FN FAL", "models/weapons/w_fn_fal.mdl", "m9k_fal", 4000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("M14", "models/weapons/w_snip_m14sp.mdl", "m9k_m14sp", 5000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("M16 Scoped", "models/weapons/w_dmg_m16ag.mdl", "m9k_m16a4_acog", 5250, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("HK 16", "models/weapons/w_hk_416.mdl", "m9k_m416", 5000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("Scar", "models/weapons/w_fn_scar_h.mdl", "m9k_scar", 6000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("TAR-21", "models/weapons/w_imi_tar21.mdl", "m9k_tar21", 6000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("Val", "models/weapons/w_dmg_vally.mdl", "m9k_val", 7575, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("SR-3M Vikhr", "models/weapons/w_dmg_vikhr.mdl", "m9k_vikhr", 6000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("Winchester 73", "models/weapons/w_winchester_1873.mdl", "m9k_winchester73", 6500, 10, false, nil, false, {TEAM_GUN}) // SHOTGUNS // --DarkRP.createShipment("1887 Winchester", "models/weapons/w_winchester_1887.mdl", "m9k_1887winchester", 4000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("Double Barrel", "models/weapons/w_double_barrel_shotgun.mdl", "m9k_dbarrel", 7000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("Jack Hammer", "models/weapons/w_pancor_jackhammer.mdl", "m9k_jackhammer", 8000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("Benelli M3", "models/weapons/w_benelli_m3.mdl", "m9k_m3", 6500, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("Ithaca M37", "models/weapons/w_ithaca_m37.mdl", "m9k_ithacam37", 5000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("Mossberg", "models/weapons/w_mossberg_590.mdl", "m9k_mossberg590", 6000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("Remington 870", "models/weapons/w_remington_870_tact.mdl", "m9k_remington870", 8500, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("1897 Winchester", "models/weapons/w_winchester_1897_trench.mdl", "m9k_1897winchester", 4000, 10, false, nil, false, {TEAM_GUN}) --DarkRP.createShipment("XM1014", "models/weapons/w_shot_xm1014.mdl", "weapon_mad_xm1014", 9000, 10, false, nil, false, {TEAM_GUN}) // SNIPERS // --AddCustomShipment("Barret M82", "models/weapons/w_barret_m82.mdl", "m9k_barret_m82", 10000, 10, false, 123, false, {TEAM_BLACK}) --AddCustomShipment("Barret M82 Single", "models/weapons/w_barret_m82.mdl", "m9k_barret_m82", 1250, 1, false, 123, false, {TEAM_BLACK}) --AddCustomShipment("Barret M98B", "models/weapons/w_barrett_m98b.mdl", "m9k_m98b", 11000, 10, false, 0, false, {TEAM_BLACK}) --AddCustomShipment("Barret M98B Single", "models/weapons/w_barrett_m98b.mdl", "m9k_m98b", 1200, 1, false, 0, false, {TEAM_BLACK}) --AddCustomShipment("SVT 40", "models/weapons/w_svt_40.mdl", "m9k_svt40", 5000, 10, false, 0, false, {TEAM_BLACK}) --AddCustomShipment("SVT 40 Single", "models/weapons/w_svt_40.mdl", "m9k_svt40", 600, 1, false, 0, false, {TEAM_BLACK}) --AddCustomShipment("Dragunov SVU", "models/weapons/w_dragunov_svu.mdl", "m9k_svu", 8000, 10, false, 0, false, {TEAM_BLACK}) --AddCustomShipment("Dragunov SVU Single", "models/weapons/w_dragunov_svu.mdl", "m9k_svu", 900, 1, false, 0, false, {TEAM_BLACK}) --AddCustomShipment("SVD Dragunov", "models/weapons/w_svd_dragunov.mdl", "m9k_dragunov", 8500, 10, false, 123, false, {TEAM_BLACK}) --AddCustomShipment("SVD Dragunov Single", "models/weapons/w_svd_dragunov.mdl", "m9k_dragunov", 950, 1, false, 123, false, {TEAM_BLACK}) --AddCustomShipment("Intervention", "models/weapons/w_snp_int.mdl", "m9k_intervention", 12500, 10, false, 0, false, {TEAM_BLACK}) --AddCustomShipment("Intervention Single", "models/weapons/w_snp_int.mdl", "m9k_intervention", 1500, 1, false, 0, false, {TEAM_BLACK}) --AddCustomShipment("PSG-1", "models/weapons/w_hk_psg1.mdl", "m9k_psg1", 7000, 10, false, 0, false, {TEAM_BLACK}) --AddCustomShipment("PSG-1 Single", "models/weapons/w_hk_psg1.mdl", "m9k_psg1", 800, 1, false, 0, false, {TEAM_BLACK}) --AddCustomShipment("AW 50", "models/weapons/w_acc_int_aw50.mdl", "m9k_aw50", 10000, 10, false, 123, false, {TEAM_BLACK}) --AddCustomShipment("AW 50 Single", "models/weapons/w_acc_int_aw50.mdl", "m9k_aw50", 1200, 1, false, 123, false, {TEAM_BLACK}) --AddCustomShipment("M24", "models/weapons/w_snip_m24_6.mdl", "m9k_m24", 7000, 10, false, 123, false, {TEAM_BLACK})
Maybe because you have -- infront of the shipment code??
[QUOTE=tripps41;47849040]Maybe because you have -- infront of the shipment code??[/QUOTE] Yeah, tried removing that. didnt work
What is the error you are getting?
[code] DarkRP.createShipment("Raging Bull", { model = "models/weapons/w_hk45c.mdl", entity = "m9k_ragingbull", price = 3000, amount = 10, seperate = false, pricesep = 300, noship = false, allowed = {TEAM_GUN} }) [/code] you need the allowed = and stuff in this [code] DarkRP.createShipment("Python", "models/weapons/w_colt_python.mdl", "m9k_coltpython", 2500, 10, false, 250, false, {TEAM_GUN}) [/code]
Sorry, you need to
Log In
to post a reply to this thread.