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.

Weapon Checker

Discussion in 'DarkRP Modding Questions & Help' started by Paco, Sep 14, 2018.

  1. Paco

    Paco New Member

    Well I got ItemStore addon (for inventory etc.) and weaponchecker recognize that as illegal weapon and it can confiscate it.How do I fix that,thanks
     
  2. Pab14567

    Pab14567 Well-Known Member

    Code (Lua):
    -- These weapons are classed as 'legal' in the weapon checker and are not stripped when confiscating weapons.
    -- This setting is used IN ADDITION to GM.Config.weaponCheckerHideDefault and GM.Config.weaponCheckerHideNoLicense.
    -- You should use the former if you want to class the default weapons (GM.Config.DefaultWeapons and, if admin, GM.Config.AdminWeapons) and a player's job weapons as legal.
    -- The latter takes GM.NoLicense weapons as legal (see licenseweapons.lua).
    -- The format of this config is similar to GM.Config.DisallowDrop.
    GM.Config.noStripWeapons = {

    }
     
    Paco likes this.
  3. Paco

    Paco New Member

    Thanks
    --- Double Post Merged, Sep 14, 2018 ---
    Sorry for bump,I got one job which creates meth,now I wanna forbidd TEAM_POLICE to pick up that meth because police could pick it up and sell it,how do I do that ?
     
    Last edited: Sep 14, 2018

Share This Page