• Seperate guns available to Citizen?
    10 replies, posted
I made guns able to be purchases separately from shipments in shipments.lua, but I still want them to be gun dealer only, how do I do this?
It should be towards the end who you can indicate who you want to sell the shipment.
I realize that. [CODE]DarkRP.createShipment("AK47", { model = "models/weapons/w_rif_ak47.mdl", entity = "bb_ak47", price = 8000, amount = 10, seperate = true, pricesep = 700, noship = false, allowed = {TEAM_GUN} })[/CODE] Only gun dealers are able to buy the shipment, but all jobs are able to buy the single guns.
[QUOTE=Sweepyoface;48771028]I realize that. [CODE]DarkRP.createShipment("AK47", { model = "models/weapons/w_rif_ak47.mdl", entity = "bb_ak47", price = 8000, amount = 10, seperate = true, pricesep = 700, noship = false, allowed = {TEAM_GUN} })[/CODE] Only gun dealers are able to buy the shipment, but all jobs are able to buy the single guns.[/QUOTE] Are you sure they're buying your created shipments and not the guns by default in DarkRP?
[QUOTE=Keosan;48771257]Are you sure they're buying your created shipments and not the guns by default in DarkRP?[/QUOTE] [url]http://steamcommunity.com/sharedfiles/filedetails/?id=525598025[/url] [url]http://steamcommunity.com/sharedfiles/filedetails/?id=525598318[/url]
Anyone?
Try adding a comma like so [lua] allowed = {TEAM_NOOB}, [/lua]
Nope, same thing.
Still need help with this.
Anyone?
Did you ever figure this out?
Sorry, you need to Log In to post a reply to this thread.