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.

Some coding

Discussion in 'DarkRP Modding Questions & Help' started by Thankful Panda, Jan 3, 2020.

  1. Thankful Panda

    Thankful Panda New Member

    This line right here ent = "zmlab_combiner", says something is wrong near it and i do not know what is wrong. I am new to gmod server coding and would like some help. From DarkRP .createShipment to {TEAM_ADVANCED}}) is one line

    DarkRP.createShipment("M9K - M249 - Single", { model = "models/weapons/w_m249_machine_gun.mdl", entity = "m9k_m249lmg", price = 500000, amount = 1, separate = false, pricesep = 123, false, allowed = {TEAM_ADVANCED}})
    ent = "zmlab_combiner",
    model = "models/zerochain/zmlab/combiner.mdl",
    price = 6000,
    max = 1,
    cmd = "buycombiner",
    allowed = {TEAM_COOK},
    category = "Meth Cook"
    })
     
  2. Claims

    Claims Member

    upload_2020-1-4_23-7-44.png

    The config dont work because its terrible mixed.

    This config code below works


    Code (Text):
    DarkRP.createShipment("whateevernameitisYOUNAMEIT", {
    ent = "zmlab_combiner",
    model = "models/zerochain/zmlab/combiner.mdl",
    price = 6000,
    max = 1,
    cmd = "buycombiner",
    allowed = {TEAM_COOK},
    category = "Meth Cook"
    })

    DarkRP.createShipment("M9K - M249 - Single", {
    model = "models/weapons/w_m249_machine_gun.mdl",
    entity = "m9k_m249lmg",
    price = 500000,
    amount = 1,
    separate = false,
    pricesep = 123, false,
    allowed = {TEAM_ADVANCED}})
     

Share This Page