• Weird category issue?
    4 replies, posted
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 133. The best help I can give you is this: There is an opening '{' bracket at line 107, but this bracket is never closed or not closed in time. It was expected to be closed before the 'category' at line 133. Hints: - 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: ({)}. ------- End of Simplerr error ------- I have no idea what it means, I try to make a Category and it doesn't work? [editline]29th July 2017[/editline] ALSO! Please help me, I need to know how to make Category for Jobs and put them into it, I'm kind of really fucking stupid about that type of stuff.
Read the error: you are probably missing a comma or close bracket in your code.
Code_gs, I don't think i am, Here is the code anyway! TEAM_THIEF = AddExtraTeam("Thief", { color = Color(192, 192, 192, 255), model = "models/player/arctic.mdl", description = [[ You are a thief. Break into people's bases and steal all of their items.]], weapons = {"lockpick", "keypad_cracker", "m9k_sig_p229r"}, command = "thief", max = 12, salary = 30, admin = 0, vote = false, hasLicense = false category = "Criminals", }) [editline]30th July 2017[/editline] [QUOTE=code_gs;52520432]Read the error: you are probably missing a comma or close bracket in your code.[/QUOTE] Forgot to quote you, Opss!
Use [code] tags in the future. You are missing a comma on the hasLicense line.
[QUOTE=code_gs;52520475]Use [code] tags in the future. You are missing a comma on the hasLicense line.[/QUOTE] Thank you so much! It finally works, I love i love i love you!
Sorry, you need to Log In to post a reply to this thread.