• Darkrp Drug Problem
    1 replies, posted
Alright, so the problem is the Drug Dealer can buy shipments of the drugs, but any of the other class can buy the drugs (Like just 1 LSD) Here are the custom shipments: AddCustomShipment("Cocaine", { model = "models/cocn.mdl", entity = "durgz_cocaine", price = 4000, amount = 10, seperate = true, pricesep =0, noship = false, allowed = {TEAM_DRUG} }) AddCustomShipment("Alcohol", { model = "models/drug_mod/alcohol_can.mdl", entity = "durgz_alcohol", price = 3000, amount = 10, seperate = true, pricesep =0, noship = false, allowed = {TEAM_DRUG} }) AddCustomShipment("Aspirin", { model = "models/jaanus/aspbtl.mdl", entity = "durgz_aspirin", price = 3000, amount = 10, seperate = true, pricesep =0, noship = false, allowed = {TEAM_DRUG} }) AddCustomShipment("Heroine", { model = "models/katharsmodels/syringe_out/syringe_out.mdl", entity = "durgz_heroine", price = 5000, amount = 10, seperate = true, pricesep =0, noship = false, allowed = {TEAM_DRUG} }) AddCustomShipment("lsd", { model = "models/smile/smile.mdl", entity = "durgz_lsd", price = 7000, amount = 10, seperate = true, pricesep =0, noship = false, allowed = {TEAM_DRUG} }) AddCustomShipment("Shrooms", { model = "models/ipha/mushroom_small.mdl", entity = "durgz_mushroom", price = 8000, amount = 10, seperate = true, pricesep =0, noship = false, allowed = {TEAM_DRUG} }) AddCustomShipment("Water", { model = "models/drug_mod/the_bottle_of_water.mdl", entity = "durgz_water", price = 2000, amount = 10, seperate = true, pricesep =0, noship = false, allowed = {TEAM_DRUG} }) Help anybody? The drugs are bought through the Weapons tab/menu.
Go look at your darkrp configuration and set GM.Config.restrictbuypistol to true.
Sorry, you need to Log In to post a reply to this thread.