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.

My categories keep coming up with errors

Discussion in 'DarkRP Modding Questions & Help' started by gavint, Jun 26, 2020.

  1. gavint

    gavint New Member

  2. Zaktak

    Zaktak Member

    Perhaps it's the capital J on the categories "Jobs". It should be "jobs".

    Code (Text):
    DarkRP.createCategory{
        name = "Criminals",
        categorises = "Jobs",
        startExpanded = true,
        color = Color(30, 63, 90, 255),
        canSee = function(ply) return true end,
        sortOrder = 101,
    }

    -- Should be:

    DarkRP.createCategory{
        name = "Criminals",
        categorises = "jobs",
        startExpanded = true,
        color = Color(30, 63, 90, 255),
        canSee = function(ply) return true end,
        sortOrder = 101,
    }
     
  3. gavint

    gavint New Member

    It was jobs before and I changed it to try it capitalized. Besides, the government has a lowercase j and that category doesn't work either.
    --- Double Post Merged, Jun 27, 2020 ---
    I solved it
     
    Last edited: Jun 27, 2020
  4. 1fps

    1fps New Member

    what did you do to solve it?
     

Share This Page