• DarkRP This shipment/weapon is unavailable
    2 replies, posted
Hey guys, Since I installed my own custom shipments for my drug dealer and now it says that anything I try to order, be it pistols, ammo, whatever, is all unavailable. Could it be my shipments file or is it something else? Here's my shipments file Any help would be much appreciated, it's the only thing barring my server from launching. [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("Alcohol", { model = "models/drug_mod/alcohol_can.mdl", "durgz_alcohol", -- The model of the item that hovers above the shipment entity = "durgz_alcohol", -- the entity that comes out of the shipment price = 750, -- the price of one shipment amount = 4, -- how many of the item go in one purchased shipment separate = false, -- whether the item is sold separately (usually used for guns) pricesep = 100, -- the price of a separately sold item noship = false, -- whether this item has a shipment allowed = {TEAM_DRUG}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu, label = "Alcohol", -- Optional: the text on the button in the F4 menu category = "Drugs", -- The name of the category it is in. Note: the category must be created! sortOrder = 100, -- The position of this thing in its category. Lower number means higher up. }) DarkRP.createShipment("Aspirin", { model = "models/jaanus/aspbtl.mdl", -- The model of the item that hovers above the shipment entity = "durgz_aspirin", -- the entity that comes out of the shipment price = 200, -- the price of one shipment amount = 4, -- how many of the item go in one purchased shipment separate = false, -- whether the item is sold separately (usually used for guns) pricesep = 100, -- the price of a separately sold item noship = false, -- whether this item has a shipment allowed = {TEAM_DRUG}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu, label = "Aspirin", -- Optional: the text on the button in the F4 menu category = "Drugs", -- The name of the category it is in. Note: the category must be created! sortOrder = 100, -- The position of this thing in its category. Lower number means higher up. }) DarkRP.createShipment("Cigarettes", { model = "models/boxopencigshib.mdl", -- The model of the item that hovers above the shipment entity = "durgz_cigarette", -- the entity that comes out of the shipment price = 100, -- the price of one shipment amount = 4, -- how many of the item go in one purchased shipment separate = false, -- whether the item is sold separately (usually used for guns) pricesep = 100, -- the price of a separately sold item noship = false, -- whether this item has a shipment allowed = {TEAM_DRUG}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu, label = "Cigarettes", -- Optional: the text on the button in the F4 menu category = "Drugs", -- The name of the category it is in. Note: the category must be created! sortOrder = 100, -- The position of this thing in its category. Lower number means higher up. }) DarkRP.createShipment("Cocaine", { model = "models/cocn.mdl", -- The model of the item that hovers above the shipment entity = "durgz_cocaine", -- the entity that comes out of the shipment price = 600, -- the price of one shipment amount = 4, -- how many of the item go in one purchased shipment separate = false, -- whether the item is sold separately (usually used for guns) pricesep = 100, -- the price of a separately sold item noship = false, -- whether this item has a shipment allowed = {TEAM_DRUG}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu, label = "Cocaine", -- Optional: the text on the button in the F4 menu category = "Drugs", -- The name of the category it is in. Note: the category must be created! sortOrder = 100, -- The position of this thing in its category. Lower number means higher up. }) DarkRP.createShipment("Heroine", { model = "models/katharsmodels/syringe_out/syringe_out.mdl", -- The model of the item that hovers above the shipment entity = "durgz_heroine", -- the entity that comes out of the shipment price = 1450, -- the price of one shipment amount = 4, -- how many of the item go in one purchased shipment separate = false, -- whether the item is sold separately (usually used for guns) pricesep = 100, -- the price of a separately sold item noship = false, -- whether this item has a shipment allowed = {TEAM_DRUG}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu, label = "Heroine", -- Optional: the text on the button in the F4 menu category = "Drugs", -- The name of the category it is in. Note: the category must be created! sortOrder = 100, -- The position of this thing in its category. Lower number means higher up. }) DarkRP.createShipment("LSD", { model = "models/smile/smile.mdl", -- The model of the item that hovers above the shipment entity = "durgz_lsd", -- the entity that comes out of the shipment price = 1200, -- the price of one shipment amount = 5, -- how many of the item go in one purchased shipment separate = false, -- whether the item is sold separately (usually used for guns) pricesep = 100, -- the price of a separately sold item noship = false, -- whether this item has a shipment allowed = {TEAM_DRUG}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu, label = "LSD", -- Optional: the text on the button in the F4 menu category = "Drugs", -- The name of the category it is in. Note: the category must be created! sortOrder = 100, -- The position of this thing in its category. Lower number means higher up. }) DarkRP.createShipment("Water", { model = "models/drug_mod/the_bottle_of_water.mdl", -- The model of the item that hovers above the shipment entity = "durgz_water", -- the entity that comes out of the shipment price = 100, -- the price of one shipment amount = 2, -- how many of the item go in one purchased shipment separate = false, -- whether the item is sold separately (usually used for guns) pricesep = 100, -- the price of a separately sold item noship = false, -- whether this item has a shipment allowed = {TEAM_DRUG}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu, label = "Water", -- Optional: the text on the button in the F4 menu category = "Drugs", -- The name of the category it is in. Note: the category must be created! sortOr
are you sure dugz mod is installed? (generic helpdesk response sorry) If so label = "Weed", is under DarkRP.createShipment("Hacker Explosive", { not sure if that would cause it but its the only issue i see (i would like "label" would allow for multiples of the same thing but i dont know)
[url]https://github.com/FPtje/DarkRP/issues/2158[/url]
Sorry, you need to Log In to post a reply to this thread.