• Shipments/weapons (F4)
    10 replies, posted
Im trying to make, so gundealer is the only one who can sell guns DarkRP.createShipment("M249", { model = "models/weapons/w_mach_m249para.mdl", entity = "weapon_real_cs_m249", price = 10000, amount = 10, seperate = true, pricesep = 1000, noship = false, allowed = {TEAM_GUN} But the normal civilian can buy 1 single m249, they cant buy it as a shipment
[code]-- restrictbuypistol - Enabling this feature makes /buy available only to Gun Dealers. GM.Config.restrictbuypistol = true[/code] Set that setting to true in your DarkRP config.
it is.
Then it should work.
-- restrictbuypistol - Enabling this feature makes /buy available only to Gun Dealers. GM.Config.restrictbuypistol = true But nothing has changed.
In your DarkRP "disabledefaults.lua", disable all default shipments.
This is css realistick guns, i downloaded myself, the others are allready disabled. [editline]14th April 2014[/editline] This is my settings. [url]http://pastebin.com/ygN1KaKk[/url] And this is my addentities.lua [url]http://pastebin.com/3thRKYWb[/url]
There is a file called "disabled_defaults.lua". In that file, you have to disable the default shipments, because that's what's causign your issue (I assume).
[url]http://pastebin.com/Xs9dak5s[/url] Thats my disabled thing, But im not using the gmods normal guns, these guns are downloaded, and they are from the css realistic pack
Bumb
You're bumping after posting 4 hours ago? Be patient. I don't know the answer so I stopped posting, if someone else knows the answer, they will post. If no one posts, then they probably don't know what's wrong either. You could always try reinstalling your DarkRP, and not touch any of the gamemode files (if you're not sure if you did).
Sorry, you need to Log In to post a reply to this thread.