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.

Jobs.lua problem

Discussion in 'DarkRP Modding Questions & Help' started by Scarecrow 2, Jul 8, 2016.

  1. Scarecrow 2

    Scarecrow 2 Member

    hey guys i got an problem with my jobs... heres the error :

    Code (Text):
    [ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 22.
    The best help I can give you is this:
    Right before the 'TEAM_CITIZEN', Lua expected to read an '='-sign, but it didn't.
    - Did you simply forget the '='-sign?
    - Did you forget a comma?
    - Is this supposed to be a local variable?
    ------- End of Simplerr error -------
    1. error - [C]:-1
    2. doInclude - gamemodes/darkrp/gamemode/libraries/simplerr.lua:2646
    3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:681
    4. Call - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:736
    5. unknown - gamemodes/darkrp/gamemode/init.lua:426
    Couldn't Load Init Script: 'darkrp/gamemode/init.lua'

    heres the line 22 :
    Code (Text):

      TEAM_CITIZEN = DarkRP.createJob("Einwohner", {
       color = Color(20, 150, 20, 255),
       model = {
       description = [[Die Einwohner sind der Grundbaustein der Stadt.]],
       weapons = {},
       command = "einwohner",
       max = 0,
       salary = 35,
       admin = 0,
       vote = false,
       hasLicense = false,
       candemote = false,
      category = "Legale Jobs",  
  2. cj2tech

    cj2tech Member

    Post your full job.lua
    --- Double Post Merged, Jul 8, 2016 ---
    And did you disable the default citizen job

Share This Page