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.

People see F4 - Ammo Tab when they dont should

Discussion in 'DarkRP Modding Questions & Help' started by Wilhelm1703, Jan 12, 2020.

  1. Wilhelm1703

    Wilhelm1703 New Member

    I use on config this option:

    Code (Text):

    -- Hide only the items that you have the wrong job for (or for which the customCheck says no).
    -- When you set this option to true and hideNonBuyable to false, you WILL see e.g. items that are too expensive for you to buy.
    -- but you won't see gundealer shipments when you have the citizen job.

    GM.Config.hideTeamUnbuyable = true
     
    And people cant see Guns Section where its weapons not for them. But all class can see Ammo tab when they cant buy them...


    Code (Text):

    DarkRP.createAmmoType("SniperPenetratedRound", {
        name = "Amunicja Snajperska",
        model = "models/Items/BoxMRounds.mdl",
        price = 250,
        amountGiven = 10,
        allowed = {TEAM_GUN}
    })
     
    Gun Dealer see them and can buy other see them but cant buy why they see them?
     

Share This Page