1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

M9k Shipments not available

Discussion in 'DarkRP Modding Questions & Help' started by FinchoZombie, Jan 4, 2019.

Tags:
  1. FinchoZombie

    FinchoZombie New Member

    I have been trying to add an m9k weapon to be a buyable item for the Gun dealer class That part works
    upload_2019-1-3_18-55-59.png
    Then whenever I try to buy it I get this: upload_2019-1-3_18-56-19.png
    What am I missing?
     
  2. Pab14567

    Pab14567 Well-Known Member

    well show us the shipments config you have set
     
  3. FinchoZombie

    FinchoZombie New Member

    DarkRP.createShipment("testGun", {
    model = "models/weapons/w_pist_glock18.mdl",
    entity = "m9k_colt1911",
    amount = 10,
    price = 250,
    separate = true,
    pricesep = 250,
    noship = true,
    category = "Pistols",
    allowed = {TEAM_GUN}
    })
     
  4. Matrix 2

    Matrix 2 New Member

    Try putting noship to false, Or do you just want to have singles?
     
  5. FinchoZombie

    FinchoZombie New Member

    it worked thank you so much! what is noship for anyway?
     
  6. Matrix 2

    Matrix 2 New Member

    NoShip sets if you want the Weapon to be in a "shipment box" true/false.
    I'm guessing you got this error because you weren't using the correct weapon model as the SWEP has the World Model set as which forces you to be unable to make a Separate Weapon. (This would not matter if you're using Shipment)
     

Share This Page