What is wrong with this jobrealted.lua? It says something wrong near line 165

/--------------------------------------------------------
Default teams. If you make a team above the citizen team, people will spawn with that
team!
--------------------------------------------------------
/
TEAM_CITIZEN = AddExtraTeam(“Citizen”, Color(20, 150, 20, 255),
“models/player/group01/male_01.mdl”, [[The Citizen is the most basic level of society
you can hold
besides being a hobo.
You have no specific role in city life.]], {}, “citizen”, 0, 45, 0, false, false)

TEAM_FCITIZEN = AddExtraTeam(“Citizen”, Color(20, 150, 20, 255),
“models/player/group01/female_01.mdl”, [[The Citizen is the most basic level of
society you can hold
besides being a hobo.
You have no specific role in city life.]], {}, “fcitizen”, 0, 45, 0, false, false)

TEAM_DOCTOR = AddExtraTeam(“Doctor”, Color(20, 255, 242, 255),
“models/player/kleiner.mdl”, [[You can heal people for cash but you must heal governmental jobs for free.]], {med_kit}, “Doctor”, 0, 45, 0, true, true)

TEAM_handicapped = AddExtraTeam(“Handicapped”, Color(170,150,30,255),
“models/player/group01/male_01.mdl”, [[You are a Handicapped man
You need help to the most simple things
like, go to the bathroom]], {}, “handicapped”, 10, 50, 0, false)

TEAM_HOBO = AddExtraTeam(“Hobo”, Color(80, 45, 0, 255), “models/player/corpse1.mdl”,
[[The lowest ember of society. All people see you laugh.
You have no home.
Beg for your food and money
Sing for everyone who passes to get money
Make your own wooden home somewhere in a corner or
outside someone else’s door]], {“weapon_bugbait”}, “hobo”, 5, 0, 0, false)

TEAM_COOK = AddExtraTeam(“Cook”, Color(238, 99, 99, 255),
“models/player/mossman.mdl”, [[As a cook, it is your responsibility to feed the other
members
of your city.
You can spawn a microwave and sell the food you make:
/Buymicrowave]], {}, “cook”, 2, 45, 0, 0, false)

TEAM_NEWSANCHOR = AddExtraTeam(“NewsAnchor”, Color(0, 51, 102, 255), “models/player/gman_high.mdl”, [[NewsAnchor
Help The NewsMan get His Local News Station BOOOMING WITH BUISNESS.]], {}, “job newsanchor”, 2, 68, 0, false, false, false)

TEAM_NEWSMAN = AddExtraTeam(“NewsMan”, Color(51, 51, 153, 255), “models/player/gman_high.mdl”, [[NewsMan
Order Your NewsAnchors to do Everything to Help You Get Your News Station BOOOMING WITH BUISNESS]], {}, “job newsman”, 1, 69, 0, true, false, false)

TEAM_MEDIC = AddExtraTeam(“Medic”, Color(47, 79, 79, 255),
“models/player/kleiner.mdl”, [[With your medical knowledge, you heal players to proper
health.
Without a medic, people can not be healed.
Left click with the Medical Kit to heal other players.
Right click with the Medical Kit to heal yourself.]], {“med_kit”}, “medic”, 3, 45, 0,
false, false)

TEAM_busdriver = AddExtraTeam(“Bus Driver”, Color(204,153,0,255),
“models/player/monk.mdl”, [[Plan a route, drive it
and pick up other players.
]], {}, “busdriver”, 1, 50, 0, false)

TEAM_GUN = AddExtraTeam(“Gun Dealer”, Color(255, 140, 0, 255),
“models/player/monk.mdl”, [[A gun dealer is the only person who can sell guns to other
people.
However, make sure you aren’t caught selling guns that are illegal to
the public.
/Buyshipment <name> to Buy a weapon shipment
/Buygunlab to Buy a gunlab that spawns P228 pistols]], {}, “gundealer”, 2, 45, 0,
false, false)

TEAM_BAR = AddExtraTeam(“BARTENDER”, Color(255, 140, 0, 255),
“models/player/alyx.mdl”, [[You can sell beer and cigarettes to people and set up a bar!]], {}, “bartender”, 2, 45, 0,
false, false)

TEAM_HEAVY = AddExtraTeam(“Heavy Gun Dealer”, Color(255, 102, 0, 255), “models/player/monk.mdl”, [[This class can sell heavy weapons to other
players.]], {“m9k_luger”}, “heavy”, 2, 65, 0, false, false, false)

//Created using DeaDeye’s Classmaker
TEAM_CARDEALER = AddExtraTeam(“Car Dealer”, Color(70, 70, 70, 255), “models/player/barney.mdl”, [[Car Dealer
You Sell Cars to People]], {}, “cardealer”, 2, 60, 0, true, false, false)

TEAM_bankmanager = AddExtraTeam(“Bank manager”, Color(255,225,0,255),
“models/player/breen.mdl”, [[Keep other players money or props, or Vehicles safe
Do not use it by your self! Or Take it! If they ask for it, you give them it!
]], {}, “bankmanager”, 1, 100, 0, true)

TEAM_POLICE = AddExtraTeam(“Civil Protection”, Color(25, 25, 170, 255),
“models/player/police.mdl”, [[The protector of every citizen that lives in the city .
You have the power to arrest criminals and protect innocents.
Hit them with your arrest baton to put them in jail
Bash them with a stunstick and they might learn better than to disobey
the law.
The Battering Ram can break down the door of a criminal with a warrant
for his/her arrest.
The Battering Ram can also unfreeze frozen props(if enabled).
Type /wanted <name> to alert the public to this criminal
OR go to tab and warrant someone by clicking the warrant button]], {“arrest_stick”,
“unarrest_stick”, “weapon_glock2”, “stunstick”, “door_ram”, “weaponchecker”}, “cp”,
4, 65, 0, true, true)

TEAM_UnderCover = AddExtraTeam(“UnderCover Police”, {
color = Color(25, 25, 170, 255),
model = {“models/player/Group01/Female_01.mdl”,
“models/player/Group01/Female_02.mdl”,
“models/player/Group01/Female_03.mdl”,
“models/player/Group01/Female_04.mdl”,
“models/player/Group01/Female_06.mdl”,
“models/player/group01/male_01.mdl”,
“models/player/Group01/Male_02.mdl”,
“models/player/Group01/male_03.mdl”,
“models/player/Group01/Male_04.mdl”,
“models/player/Group01/Male_05.mdl”,
“models/player/Group01/Male_06.mdl”,
“models/player/Group01/Male_07.mdl”,
“models/player/Group01/Male_08.mdl”,
“models/player/Group01/Male_09.mdl”},
description = [[The hidden 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”, “weapon_glock2”, “stunstick”, “door_ram”, “weaponchecker”,“rphands”},
command = “undercover”,
max = 4,
salary = 65,
admin = 0,
vote = false,
hasLicense = true,
customCheck = function(ply) return table.HasValue({“Donator”, “VIP”, “VIP+”, “DonerAdmin”, “superadmin”, “DonerMod”, “Coder”, “Owner”}, ply:GetNWString(“usergroup”)) end
})

TEAM_CHIEF = AddExtraTeam(“Civil Protection Chief”, Color(20, 20, 255, 255),
“models/player/combine_soldier_prisonguard.mdl”, [[The Chief is the leader of the
Civil Protection unit.
Coordinate the police forces to bring law to the city
Hit them with arrest baton to put them in jail
Bash them with a stunstick and they might learn better than to
disobey the law.
The Battering Ram can break down the door of a criminal with a
warrant for his/her arrest.
Type /wanted <name> to alert the public to this criminal
Type /jailpos to set the Jail Position]], {“arrest_stick”, “unarrest_stick”,
“weapon_deagle2”, “stunstick”, “door_ram”, “weaponchecker”}, “chief”, 1, 75, 0,
false, true, TEAM_POLICE)

TEAM_SWAT = AddExtraTeam(“S.W.A.T”, Color(51,102,102,255),
“models/player/urban.mdl”, [[S.W.A.T Tactical Forces Unit. Very dangerious but very sweet job. Cleans the streets from high terror attacks. ]], {“weapon_real_cs_pumpshotgun”, “weapon_real_cs_awp”, “weapon_real_cs_smoke”,
“weapon_mp52”, “weapon_fiveseven2”, “arrest_stick”, “door_ram”, “stunstick”,
“unarrest_stick”, “weaponchecker”, “keypad_cracker”}, “swat”, 3, 75, 0, true)

TEAM_SWATCHIEF = AddExtraTeam(“S.W.A.T Chief”, Color(51,102,51,255),
“models/player/riot.mdl”, [[S.W.A.T Tactical Forces Unit. Even sweeter and even more dangerous! Cleans the streets from high terror attacks. Oh yeah, your incharge! ]], {“weapon_real_cs_pumpshotgun”, “weapon_real_cs_awp”, “weapon_real_cs_flash”,
“weapon_real_cs_smoke”, “arrest_stick”, “door_ram”, “stunstick”, “unarrest_stick”,
“weapon_deagle2”, “weapon_m42”, “weapon_pumpshotgun2”, “weaponchecker”,
“keypad_cracker”}, “swatchief”, 2, 85, 2, false)

TEAM_MAYOR = AddExtraTeam(“Mayor”, {
color = Color(150, 20, 20, 255),
model = “models/player/breen.mdl”,
description = [[The Mayor of the city creates laws to serve the greater good
of the people. If you are the mayor you may create and accept warrants. Type /wanted <name> to warrant a player Type /jailpos to set the Jail Position Type /lockdown initiate a lockdown of the city. Everyone must be inside during a lockdown. The cops patrol the area /unlockdown to end a lockdown]],
weapons = {},
command = “mayor”,
max = 1,
salary = 100,
admin = 0,
vote = true,
hasLicense = false,
mayor = true,
}

TEAM_president = AddExtraTeam(“President”, {
color = Color(255,0,0,255),
model = “models/player/breen.mdl”,
description = [[You are the president of the united states of Gmod! You will govern the lands with all of the power granted to you! Make laws and lockdowns to disallow people to do illegal stuff.]],
weapons = {},
command = “president”,
max = 1,
salary = 100,
admin = 0,
vote = true,
hasLicense = false,
mayor = true,
}

TEAM_daughters = AddExtraTeam(“President’s Daughter(s)”, Color(255,0,0,255),
“models/player/alyx.mdl”, [[Your are one of 2 daughters
of the President, Watch it, there might be
someone who are after you to control the
President]], {}, “daughters”, 2, 100, 0, false)

TEAM_army = AddExtraTeam(“Soldier”, Color(102,153,0,255),
“models/player/dod_american.mdl”, [[Fights for freedom.
Cleans city streets from the highest terror attacks.
]], {“arrest_stick”, “ls_sniper”, “weapon_ak472”, “door_ram”, “lockpick”, “med_kit”,
“stunstick”, “unarrest_stick”, “weapon_checker”, “keypad_cracker”}, “army”, 4, 75, 0,
true)

TEAM_csi = AddExtraTeam(“CSI: Crime Scene Investigation”, Color(4,112,6,255),
“models/player/kleiner.mdl”, [[Collect evidence and find out
who did what in a case. Like: Who killed a man, collect samples and find out what
collect samples and find out what the thing you collected is, it might just be
solution of the case!
]], {“weapon_glock2”}, “csi”, 5, 150, 2, false)

TEAM_secretagent = AddExtraTeam(“Secret Agent”, Color(51,102,102,255),
“models/player/group01/male_01.mdl”, [[You are a Secret Agent, you work
for the President, and no one else!
You take down Terrorists, and make
sure there aren’t going to be an
attack, when your are done, you
go under the ground
]], {“weapon_fiveseven2”, “arrest_stick”, “door_ram”, “stunstick”}, “secretagent”, 1,
80, 0, true)

TEAM_federation = AddExtraTeam(“The Federation”, Color(255,255,0,255),
“models/player/combine_soldier_prisonguard.mdl”, [[The Federation
custom job], you gotta apply for this job]], {“weapon_real_cs_g3sg1”,
“weapon_real_cs_galil”, “weapon_real_cs_p90”, “door_ram”, “lockpick”,
“weapon_fiveseven2”, “weapon_real_cs_knife”, “arrest_stick”, “stunstick”,
“keypad_cracker”, “weaponchecker”}, “federation”, 10, 100, 1, false)

TEAM_search = AddExtraTeam(“Money Printer & Drug Lab Searcher”, Color(51,102,51,255),
“models/player/riot.mdl”, [[You are the big Searcher!
You search for: Money Printers, and Drug Labs
If you find something, there are only one thing to do!
ARREST!!
]], {“weapon_real_cs_pumpshotgun”, “weapon_real_cs_flash”, “arrest_stick”,
“door_ram”, “stunstick”, “unarrest_stick”, “weapon_deagle2”, “weapon_pumpshotgun2”,
“weaponchecker”, “keypad_cracker”}, “search”, 2, 85, 2, false)

TEAM_MOB = AddExtraTeam(“Hitman”, Color(153,0,255,255), “models/player/leet.mdl”,
[[A Hitman, kills targeted people for money.
DONT ABUSE OR RANDOM DM!!!
]], {“keypad_cracker”, “lockpick”, “ls_sniper”, “weapon_p2282”}, “hitman”, 2, 50, 0,
false)

TEAM_drug = AddExtraTeam(“Drug Dealer”, Color(78,45,61,255),
“models/player/phoenix.mdl”, [[Go around the city and ask people if they
want some drugs, you make the prices.
]], {}, “drug”, 1, 50, 0, false)

TEAM_robber = AddExtraTeam(“Robber”, Color(204,153,0,255),
“models/player/arctic.mdl”, [[1. Find a target, 2. Aim a gun at him/her
3. Force him/her to give you money
(if him/her yell for police, kill him/her) 4. RUN!!
]], {“weapon_real_cs_knife”, “keypad_cracker”, “lockpick”}, “robber”, 15, 50, 0, false)

TEAM_Fake = AddExtraTeam(“Gangster Disguised”, {
color = Color(25, 25, 170, 255),
model = {“models/player/police.mdl”, “models/player/police_fem.mdl”},
description = [[Pretend to be a cop and secretly attack governmental buildings.]],
weapons = {“Lockpick”, “unarrest_stick”, “weapon_glock2”, “stunstick”, “rphands”},
command = “Fake”,
max = 4,
salary = 65,
admin = 0,
vote = false,
hasLicense = false,
customCheck = function(ply) return table.HasValue({“VIP”, “VIP+”, “DonerAdmin”, “superadmin”, “DonerMod”, “Coder”, “Owner”}, ply:GetNWString(“usergroup”)) end
})

TEAM_GANG = AddExtraTeam(“Gangster”, Color(75, 75, 75, 255),
“models/player/group03/male_01.mdl”, [[The lowest person of crime.
A gangster generally works for the Mobboss who runs the crime family.
The Mobboss sets your agenda and you follow it or you might be punished.]], {},
“gangster”, 3, 45, 0, false, false)

TEAM_MOB = AddExtraTeam(“Mob boss”, Color(25, 25, 25, 255),
“models/player/gman_high.mdl”, [[The Mobboss is the boss of the criminals in the city.
With his power he coordinates the gangsters and forms an efficent crime
organization.
He has the ability to break into houses by using a lockpick.
The Mobboss also can unarrest you.]], {“lockpick”, “unarrest_stick”}, “mobboss”, 1,
60, 0, false, false)

TEAM_terrorist = AddExtraTeam(“Terrorist”, Color(204,153,0,255),
“models/player/phoenix.mdl”, [[Allah will be proud!
You are Terrorist, destroy all Americans!
LALALALALALA!!!
You kill: Cops, S.W.A.T, Mayors, and Soldiers. (Remember reason)
Mostly hold them for ransom.
]], {“weapon_real_cs_mac10”, “weapon_p228”}, “terrorist”, 4, 40, 0, false)

TEAM_bomb = AddExtraTeam(“Suicide bomber”, Color(255,255,0,255),
“models/player/phoenix.mdl”, [[1. Equip a Jihad Bomb
2. Find a target
3. Take the bomb, and get people to get near you
4. BOOM! BYE BYE FAGGOTS
5. (Sucide Bomb for legit Reason if Caught doing it for a NOT legit reason could result in a BAN or KICK)
]], {}, “bomb”, 2, 50, 0, false)

TEAM_terroristboss = AddExtraTeam(“Terrorist Boss”, Color(204,153,0,255),
“models/player/leet.mdl”, [[You are the Terrorist Boss, your job is to be
the Terrorists Leader. Giving them Different kind of jobs. (Like: Kill the Mayor
(Remember a reason), blow up the police station, or something like that.
]], {“door_ram”, “lockpick”, “stunstick”, “unarrest_stick”, “weapon_ak472”,
“weapon_deagle”, “keypad_cracker”}, “terroristboss”, 1, 45, 0, false)

/*

HOW TO MAKE AN EXTRA CLASS!!!

You can make extra classes here. Set everything up here and the rest will be done for
you! no more editing 100 files without knowing what you’re doing!!!
Ok here’s how:

To make an extra class do this:
AddExtraTeam( “<NAME OF THE CLASS>”, Color(<red>, <Green>, <blue>, 255), “<Player
model>” , [[<the description(it can have enters)>]], { “<first extra
weapon>”,"<second extra weapon>", etc…}, “<chat command to become it(WITHOUT THE
/!)>”, <maximum amount of this team> <the salary he gets>, 0/1/2 = public /admin only
/ superadmin only, <1/0/true/false Do you have to vote to become it>, true/false
DOES THIS TEAM HAVE A GUN LICENSE?, TEAM: Which team you need to be to become this team)

The real example is here: it’s the Hobo: */

–VAR without /!!! The name the color(what you see in tab) the
//player model The description

//No extra weapons say /hobo to become hobo Maximum hobo’s = 5 his salary
//= 0 because hobo’s don’t earn money. 0 = everyone can become hobo ,
//false = you don’t have to vote to become hobo
// MAKE SURE THAT THERE IS NO / IN THE TEAM NAME OR IN THE TEAM COMMAND:
// TEAM_/DUDE IS WROOOOOONG !!!
// HAVING “/dude” IN THE COMMAND FIELD IS WROOOOOOOONG!!!
//ADD TEAMS UNDER THIS LINE:

TEAM_Rapist = AddExtraTeam(“Rapist”, Color (184,134,11,255),
“models/player/corpse1.mdl”, [[Rapist
Go around town rapin BITCHES!]], {“weapon_rape”, “lockpick”, “weapon_real_cs_knife”, “weaponchecker”},
“Rapist”, 0, 69, 1, false, customCheck = function(ply) return table.HasValue({“Donator”, “VIP”, “VIP+”, “DonerAdmin”, “superadmin”, “DonerMod”, “Coder”, “Owner”}, ply:GetNWString(“usergroup”)) end
)

TEAM_SpiderMan = AddExtraTeam(“SpiderMan”, Color (255,0,0,255),
“models/Spiderman/spiderman.mdl”, [[SpiderMan
TheCDogDingo’s Admin Class]], {“spiderman’s_swep”},
“SpiderMan”, 1, 69, 1, false)

TEAM_GrimReaper = AddExtraTeam(“GrimReaper”, Color (0,0,0,255),
“models/grim.mdl”, [[GrimReaper
Nedle’s Admin Class]], {“scythe_swep”, “knife_t”},
“GrimReaper”, 1, 69, 1, false)

TEAM_IronMan = AddExtraTeam(“IronMan”, Color (255,0,0,255),
“models/Avengers/Iron Man/mark7_player.mdl”, [[IronMan
Clairvoyance’s Admin Class]], {“weapon_iron_man”},
“IronMan”, 1, 69, 1, false)

TEAM_BatMan = AddExtraTeam(“BatMan”, Color (0,0,0,255),
“models/player/superheroes/batman.mdl”, [[BatMan
ProGamer’s Admin Class]], {“Batarang”},
“BatMan”, 1, 69, 1, false)

TEAM_Sophia = AddExtraTeam(“Sophia”, Color(245, 53, 170, 255), “models/npc/leanna/npc_leanna.mdl”, [[Sophia
Sophia’s Admin Class]], {“m9k_amd65”, “m9k_honeybadger”}, “sophia”, 1, 69, 1, false)

/*

HOW TO MAKE A DOOR GROUP

AddDoorGroup(“NAME OF THE GROUP HERE, you see this when looking at a door”, Team1,
Team2, team3, team4, etc.)

WARNING: THE DOOR GROUPS HAVE TO BE AT THE BOTTOM OF SHARED.LUA. IF THEY ARE NOT,
IT MIGHT MUCK UP!

The default door groups, can also be used as examples:
*/
AddDoorGroup(“cops and mayor only”, TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR, TEAM_president, TEAM_csi, TEAM_secretagent, TEAM_federation, TEAM_search, TEAM_army, TEAM_daughters, TEAM_SWAT, TEAM__UnderCover, TEAM_SWATCHIEF)
AddDoorGroup(“gundealer only”, TEAM_GUN)
AddAgenda(“Gangster’s agenda”, TEAM_MOB, TEAM_GANG, TEAM_Fake)
AddAgenda(“Police Agenda”, TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR, TEAM_president, TEAM_csi, TEAM_secretagent, TEAM_federation, TEAM_search, TEAM_army, TEAM_daughters, TEAM_SWAT, TEAM__UnderCover, TEAM_SWATCHIEF)

Try using this… Click