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.

I can't set hp to my DarkRP Job

Discussion in 'Player General Chat' started by Bad Boy pl, Sep 29, 2018.

  1. Bad Boy pl

    Bad Boy pl New Member

    This is my Job

    TEAM_173 = DarkRP.createJob("SCP-173", {
    color = Color(255, 0, 0, 255),
    model = {"models/jqueary/scp/unity/scp173/scp173unity.mdl"},
    description = [[.]],
    weapons = {"weapon_scp173"},
    command = "173",
    max = 1,
    salary = 450,
    admin = 0,
    vote = false,
    hasLicense = true,
    candemote = false,
    category = "SCP-173"
    PlayerSpawn = function(ply)

    And this is a error

    [ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 308.
    The best help I can give you is this:
    There is an opening '{' bracket at line 295, but this bracket is never closed or not closed in time. It was expected to be closed before the 'PlayerSpawn' at line 308.
    - Did you forget a comma?
    - All open brackets ({, (, [) must have a matching closing bracket. Are you sure it's there?
    - Brackets must be opened and closed in the right order. This will work: ({}), but this won't: ({)}.
  2. Pab14567

    Pab14567 Well-Known Member

    you forgot a comma on the category, please look next time before posting.
  3. Bad Boy pl

    Bad Boy pl New Member

    What comma i got for hp and armor
    Can you just send me modified Job?
    --- Double Post Merged, Oct 1, 2018 ---
    ### POST DESACTIVE ###
    I do it yourself
    Last edited: Oct 1, 2018
  4. Pab14567

    Pab14567 Well-Known Member

Share This Page