all my jobs are gone all da sudden NEED HELP!!!

the console said this:

[ERROR] addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua:304: ‘}’ expected near ‘models’

  1. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua:0

so my server was all good and then when i changed the max players in the start.bat file all my jobs are job and i spent so much time coding and i cant put any custom job in the darkrp modification so here is the code i hope 1 of you guys can help.

Add jobs under the following line:
---------------------------------------------------------------------------]]

TEAM_CAR = DarkRP.createJob(“Car Dealer”, {
color = Color(212, 193, 232, 255),
model = {“models/player/hostage/hostage_03.mdl”},
description = [[Sell cars to the Public]],
weapons = {},
command = “CAR”,
max = 2,
salary = 69,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Citizen”,
})
TEAM_THIEF = DarkRP.createJob(“Thief”, {
color = Color(0, 0, 0, 255),
model = “models/player/robber.mdl”,
description = [[You are a thief, rob people, lockpick their house and steal their plants and legal printers.]],
weapons = {“lockpick”}, – You may wanna find a pickpocket swep and add it here.
command = “thief”,
max = 2,
salary = 65,
admin = 0,
vote = false,
hasLicense = false,
category = “Citizens”,
})
TEAM_HITMAN = DarkRP.createJob(“Hitman”, {
color = Color(0, 0, 0, 255),
model = “models/player/sunabouzu.mdl”,
description = [[People hire you to take out other people,
this job require you to be completely focussed.
A single breath can make you loose a shot.]],
weapons = {“m9k_m24”},
command = “hitman”,
max = 1,
salary = 65,
admin = 0,
vote = false,
hasLicense = false,
category = “Citizens”,
})
TEAM_SS = DarkRP.createJob(“Secret Service”, {
color = Color(100, 20, 20, 255),
model = “models/player/macdguy.mdl”,
description = [[You are responsible for protecting the mayor.
Take care of the old fellow, he is vanuarable to terrorists all the time! Before he enters a room, you need to make sure its secure.]],
weapons = {“weapon_deagle2”, “stunstick”, “weaponchecker”},
command = “ss”,
max = 2,
salary = 65,
admin = 0,
vote = true,
hasLicense = false,
ammo = {
[“pistol”] = 60,
},
category = “Civil Protection”,
})
TEAM_SWAT = DarkRP.createJob(“Swat”, {
color = Color(25, 25, 170, 255),
model = {“models/player/swat.mdl”},
description = [[The protector of every citizen that lives in the city.
You have the power to arrest criminals and protect innocents.
Hit a player with your arrest baton to put them in jail.
Bash a player with a stunstick and they may learn to obey the law.
The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
The Battering Ram can also unfreeze frozen props (if enabled).
Type /wanted <name> to alert the public to the presence of a criminal.]],
weapons = {“arrest_stick”, “unarrest_stick”, “m9k_m92beretta”, “stunstick”, “door_ram”, “weaponchecker”, “handcuffs”},
command = “Swat”,
max = 4,
salary = 85,
admin = 0,
vote = true,
hasLicense = true,
help = {
“Please don’t abuse your job”,
“When you arrest someone they are auto transported to jail.”,
“They are auto let out of jail after some time”,
“Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.”,
“Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect”,
“Type /unwanted [Nick|SteamID|Status ID] to clear the suspect”,
“Type /jailpos to set the jail position”
},
category = “Civil Protection”,
})
TEAM_ADMIN = DarkRP.createJob(“Admin On Duty”, {
color = Color(170, 0, 0, 255),
model = “models/player/zeus_combine_v2/zeus_combine_v2.mdl”,
description = [[Admin on duty is when you as an admin, is ready to make sure the server stays at its best.
It’s up to you to patrol and respond to admin calls.]],
weapons = {},
command = “aod”,
max = 0,
salary = 100,
admin = 1,
vote = false,
hasLicense = false,
customCheck = function(ply) return ply:GetUserGroup() == “Admin” end,

})
TEAM_MD = DarkRP.createJob(“Mayors Daughter”, {
color = Color(255,100,100,255),
model = “models/player/alyx.mdl”,
description = [[You are the mayors daughter, walk around with your dad
just chill around. But be careful, you never know when somebody
is waiting to kidnap you!]],
weapons = {},
command = “mayorsdaughter”,
max = 1,
salary = 80,
admin = 0,
vote = false,
hasLicense = false
})
TEAM_GUARD = DarkRP.createJob(“Guard”, {
color = Color(0,200,50,255),
model = “models/player/barney.mdl”,
description = [[People will pay for protection, use your weapon or buy one from the local gundealer.]],
weapons = {“weapon_deagle2”},
command = “guard”,
max = 1,
salary = 85,
admin = 0,
vote = false,
hasLicense = true,
category = “Citizens”,
})
TEAM_GUN = DarkRP.createJob(“GUN Dealer”, {
color = Color(127, 0, 255, 255),
model = {“models/player/hostage/hostage_03.mdl”},
description = [[Sell GUNS to the Public]],
weapons = {},
command = “GUN”,
max = 4,
salary = 69,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Citizen”,
})

TEAM_DRUG = DarkRP.createJob(“Drugz Dealer”, {
color = Color(115, 247, 191, 255),
model = {“models/player/gman_high.mdl”},
description = [[You are the drugz dealer you sell drugz and shiz but just don’t get caught by the police because i am not bailing you out again]],
weapons = {},
command = “drugz”,
max = 2,
salary = 69,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Citizen”,
})

TEAM_DISGUISE = DarkRP.createJob(“Disguiser”, {
color = Color(0, 255, 147, 255),
model = {“models/player/arctic.mdl”},
description = [[You disguise… pretty self explanitory]],
weapons = {“disguise_swep”},
command = “disguise”,
max = 2,
salary = 69,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = true,
cook = false,
category = “Citizen”,
})

TEAM_DJ = DarkRP.createJob(“DJ”, {
color = Color(0, 178, 255, 255),
model = {“models/player/darkpredatorfphandsnoarmour.mdl”},
description = [[You play music… pretty self explanitory]],
weapons = {“mx_radio”},
command = “DJ”,
max = 2,
salary = 69,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = true,
cook = false,
category = “Citizen”,
})

TEAM_RAPE = DarkRP.createJob(“Rapist”, {
color = Color(0, 178, 255, 255),
model = {“models/player/soldier_stripped.mdl”},
description = [[You rape… pretty self explanitory]],
weapons = {“weapon_rape”},
command = “RAPE”,
max = 1,
salary = 69,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = true,
cook = false,
category = “Citizen”,
})
TEAM_PRE = AddExtraTeam(“Predator”, {
color = Color(255, 255, 0, 255),
model = “models/player/youngbloodfphands.mdl”,
description = [[you are like a cop but bigger you are like a president but higher you are like a over lord but darker you are a criminal you protect but you protect diffrently insted of arrestine people you kill them!]],
weapons = {“lockpick”,“pocket”,“arrest_stick”,“unarrest_stick”,“weapon_crossbow”,“m9k_minigun”,“m9k_harpoon”},
command = “batman”,
max = 2,
salary = 70,
admin = 1,
vote = false,
hasLicense = true,
customCheck =function(ply)
return ply:SteamID()==“STEAM_0:1:51620154”
or ply:SteamID()==“STEAM_0:1:79673720”
or ply:SteamID()==“STEAM_0:1:51620154”
or ply:SteamID()==“ADD”
or ply:SteamID()==“ADD”
or ply:SteamID()==“ADD”
or ply:SteamID()==“ADD”
or ply:SteamID()==“ADD”
end
})
TEAM_PLUMBER = DarkRP.createJob(“Randy the Plumber”, {
color = Color(153, 153, 153, 255),
model = {“models/player/Group03/male_03.mdl”},
description = [[You are randy the creepy neighbor but also a plumber you show up to houses and “fix” things RAID: YES]],
weapons = {“weapon_rape”},
command = “plumber”,
max = 2,
salary = 60,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Citizen”,
})
TEAM_METH = DarkRP.createJob(“Meth cook”, {
color = Color(0, 209, 255, 255),
model = {"“models/player/phoenix.mdl”,“models/player/guerilla.mdl”,“models/player/police_fem.mdl”"},
description = [[You are a Meth cook!! sell meth to the meth addict NPC or people that are willing to buy.]],
weapons = {“m9k_hk45”},
command = “Meth”,
max = 4,
salary = 60,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Citizen”,
})

all of my modules and some addons do not work anymore

In your Meth Cook job, your models list is incorrect. You have dual quotes inside the curly brackets when you shouldn’t. Change it to be this:



model = {"models/player/phoenix.mdl","models/player/guerilla.mdl","models/player/police_fem.mdl"},


lol that fixed everything xD THX

When a single job is broken, all darkrp jobs will break too.

…Why?

please quit gmod, we got enough kids like you already.

Because it messes up the syntax of the whole file.

Do you even Lua?