• Jobs are messed up.
    3 replies, posted
TEAM_CRIP = DarkRP.createJob("Hoova Crip", {     color = Color(75, 75, 75, 255),     model = "models/player/cripz/slow_2.mdl",     "models/player/cripz/slow_3.mdl"},     description = [[You are a Hoova Street Crip, you follow your OG's orders     You are sworn enemies with the Bloods, but you cannot KOS them without     War being declared and agreed upon both sides in advert]],     weapons = {"weapon_fists", "m9k_ak47"},     command = "crip",     max = 5 ,     salary = 50,     admin = 0,     vote = false,     hasLicense = false,     category = "Gangsters", }) TEAM_BLOOD = DarkRP.createJob("Hoova Blood", {     color = Color(0, 0, 0, 255),     model = "models/player/bloodz/slow_2.mdl",     "models/player/bloodz/slow_3.mdl",     description = [[You are a Hoova Street Blood, you follow your OG's orders     You are sworn enemies with the Crips, but you cannot KOS them without     War being declared and agreed upon both sides in advert]],     weapons = {"weapon_fists", "m9k_ak47"},     command = "blood",     max = 5 ,     salary = 50,     admin = 0,     vote = false,     hasLicense = false,     category = "Gangsters", }) TEAM_BLOODL = DarkRP.createJob("Leader Of Bloods", {     color = Color(0, 0, 0, 255),     model = "models/player/bloodz/slow_1.mdl",     description = [[You are the leader of the Bloods you accept or decline Wars between the Crips     You are sworn enemies with the Crips, but you cannot KOS them without     War being declared and agreed upon both sides in advert]],     weapons = {"weapon_fists", "m9k_ak47", "cw_silverballer"},     command = "blood",     max = 5 ,     salary = 100,     admin = 0,     vote = false,     hasLicense = false,     category = "Gangsters", }) plz help,
I agree. It's bullshit that you need to work to live these days. As for your JavaScript problem I'm afraid I can't help you there.
You have a miss-matched amount of opening curly-brackets as opposed to closing curly-brackets, in your first form: TEAM_CRIP = DarkRP.createJob("Hoova Crip", { -- 1 color = Color(75, 75, 75, 255), model = "models/player/cripz/slow_2.mdl", "models/player/cripz/slow_3.mdl"} -- /1, description = [[You are a Hoova Street Crip, you follow your OG's orders You are sworn enemies with the Bloods, but you cannot KOS them without War being declared and agreed upon both sides in advert]], weapons = {"weapon_fists", "m9k_ak47"} -- 2, /2, command = "crip", max = 5 , salary = 50, admin = 0, vote = false, hasLicense = false, category = "Gangsters", }) -- /3 ; This curly-bracket has no corresponding open curly-bracket! You should probably get rid of the } at /1 since you don't appear to be using a } there in any of the other cases, not that I claim to have a ton of experience with DarkRP-code. This'll make the final closed curly-bracket match up against the first one (1).
https://files.facepunch.com/forum/upload/134299/3324c70f-8639-42bf-b6ef-b281eb423450/image.png
Sorry, you need to Log In to post a reply to this thread.