• Stupid shipment problems
    3 replies, posted
Yeah, I tried every thing in my lua knowledge and these wont appear (and Im the guy trying to code a gamemode but I cant make darkrp shipments XD) [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.createShipment("AK-47", { model = "models/weapons/w_rif_ak47.mdl", entity = "fas2_ak47", price = 5000, amount = 10, separate = false, pricesep = 500, noship = false, allowed = {TEAM_GUN}, }) DarkRP.createShipment("UZI", { model = "models/weapons/w_smg_mp5.mdl", entity = "fas2_uzi", price = 4500, amount = 10, separate = false, pricesep = 450, noship = false, allowed = {TEAM_GUN}, }) DarkRP.createShipment("M4A1", { model = "models/weapons/w_rif_m4a1.mdl", entity = "fas2_m4a1", price = 4500, amount = 10, separate = false, pricesep = 450, noship = false, allowed = {TEAM_GUN}, }) DarkRP.createShipment("Raging Bull", { model = "models/weapons/w_357.mdl", entity = "fas2_ragingbull", price = 3500, amount = 10, separate = false, pricesep = 350, noship = false, allowed = {TEAM_GUN}, }) DarkRP.createShipment("TOZ Shotgun", { model = "models/weapons/w_357.mdl", entity = "fas2_toz34", price = 6500, amount = 10, separate = false, pricesep = 650, noship = false, allowed = {TEAM_GUN}, }) DarkRP.createShipment("Sterling SMG", { model = "models/weapons/w_357.mdl", entity = "fas2_sterling_mk7a4", price = 3500, amount = 10, separate = false, pricesep = 350, noship = false, allowed = {TEAM_GUN}, }) DarkRP.createShipment("MP5", { model = "models/weapons/w_357.mdl", entity = "fas2_mp5a5", price = 4500, amount = 10, separate = false, pricesep = 450, noship = false, allowed = {TEAM_GUN}, }) DarkRP.createShipment("M60", { model = "models/weapons/w_357.mdl", entity = "fas2_m60e3", price = 7500, amount = 10, separate = false, pricesep = 750, noship = false, allowed = {TEAM_GUN}, }) DarkRP.createShipment("SVD Dragonov", { model = "models/weapons/w_357.mdl", entity = "fas2_svd", price = 5500, amount = 10, separate = false, pricesep = 550, noship = false, allowed = {TEAM_GUN}, }) DarkRP.createShipment("M67 Grenade", { model = "models/weapons/w_357.mdl", entity = "fas2_m67", price = 7500, amount = 10, separate = false, pricesep = 750, noship = false, allowed = {TEAM_GUN}, }) DarkRP.createShipment("RPK", { model = "models/weapons/w_357.mdl", entity = "fas2_rpk", price = 5500, amount = 10, separate = false, pricesep = 550, noship = false, allowed = {TEAM_GUN}, }) DarkRP.createShipment("M79", { model = "models/weapons/w_357.mdl", entity = "fas2_m79", price = 8500, amount = 10, separate = false, pricesep = 550, noship = false, allowed = {TEAM_GUN}, })[/CODE]
Go to to the [URL="http://forum.darkrp.com/"]DarkRP forums[/URL]. Or you could go to [URL="https://facepunch.com/showthread.php?t=1249475"]this thread[/URL].
Are you sure there is actually a TEAM_GUN and you haven't just removed it?
Nothing is wrong with your code, make sure you're a gun dealer and in the shipments tab ( :v: )
Sorry, you need to Log In to post a reply to this thread.