Strange DarkRP error

Hey,
I’ve been working on a new DarkRP server. This isn’t my first server so I thought it wouldn’t be too hard or time-consuming to make a new one. I’m using the latest version of DarkRP with the darkrpmodification addon. I was creating jobs and stuff and I saved and checked everything. I started the server and I got this error:


[ERROR] addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:61: ')' expec
ted (to close '(' at line 58) near '='
  1. unknown - addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:0

I went to have a look in jobs.lua at line 61, but I didn’t find anything. I removed the whole job that was in those lines, and the error was still there but only the lines changed!

Here’s my jobs.lua:



/*---------------------------------------------------------------------------
DarkRP custom jobs
---------------------------------------------------------------------------

This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.

Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
	Once you've done that, copy and paste the job to this file and edit it.

The default jobs can be found here:
<TODO: INSERT URL HERE>

For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields


Add jobs under the following line:
---------------------------------------------------------------------------*/
TEAM_CITIZEN = AddExtraTeam("Survivor", Color(0, 153, 0, 255), {"models/player/Group03/Male_02.mdl",
 "models/player/Group03/Male_03.mdl",
 "models/player/Group03/Male_04.mdl",
 "models/player/Group03/Male_05.mdl",
 "models/player/Group03/Male_06.mdl",
 "models/player/Group03/Male_07.mdl",
 "models/player/Group03/Male_08.mdl",
 "models/player/Group03/Male_09.mdl"}, [[You are trying to survive the wasteland. This is
basicly just a citizen job, there is not much
special about this job.]], {}, "survivor", 0, 45, 0, false, false, false)

TEAM_POLICE = AddExtraTeam("Police Officer", Color(0, 51, 204, 255), "models/player/combine_soldier.mdl", [[--VERY IMPORTANT, READ OR GET DEMOTED--

This type of Police Officer is only allowed to
arrest in the towns. You ask one of the mayors if
you can work in their town. You arrest the law
breakers and keep order in the towns.

IMPORTANT: YOU ARE NOT A GUARD! YOUR JOB IS NOT TO
PROTECT THE TOWN FROM ATTACKS!]], {"m9k_m92beretta", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weapon_checker"}, "police", 6, 50, 
0, true, false, false)

TEAM_WLOFFICER = AddExtraTeam("Wasteland Officer", Color(0, 51, 153, 255), "models/player/barney.mdl", [[You search and arrest bandits in the 
wasteland.
You are not allowed to arrest in the towns.]], {"m9k_m92beretta", "arrest_stick", "unarrest_stick", "stunstick", "weapon_checker"}, "wlofficer", 3, 
50, 0, true, false, false)

TEAM_MAYOR = AddExtraTeam("Mayor", Color(255, 0, 0, 255), "models/player/breen.mdl", [[--VERY IMPORTANT, READ OR GET DEMOTED!--

You are the mayor of one of the towns. There can
be up to 3 mayors which each his own town. You can
place one lawboard in your town. The laws are in
all towns the same, so you have to discuss with
the other mayors. A town cannot have two mayors or
more. When you have chosen a town, change your job
name to "Mayor of [Name of Town]". Do this by
typing /job Mayor of [Name of Town].

WARNING: These 3 mayors are just a test. If there // THIS IS LINE 58
is too much trouble it will be changed to only 1.
Do not ignore the other mayors when there is a
problem!]], {}, "mayor", 3, 60, 0, false, false, false) // THIS IS LINE 61

TEAM_FOODSUPPLIER = AddExtraTeam("Food Supplier", Color(0, 255, 0, 255), "models/player/alyx.mdl", [[A Food Supplier is always needed. Without them,
nobody would survive. You sell food to the
survivors and try to make money out of it. You
HAVE to sell food to everyone.]], {}, "foodsupplier", 3, 50, 0, false, false, false, cook = true)

TEAM_HEAVY = AddExtraTeam("Heavy Gun Dealer", Color(204, 102, 0, 255), "models/player/guerilla.mdl", [[You sell heavy weapons to the wasteland, 
like shotguns,
assault rifles and sniper rifles.]], {}, "heavy", 3, 45, 0, false, false, false)

TEAM_LIGHT = AddExtraTeam("Light Gun Dealer", Color(255, 153, 51, 255), "models/player/monk.mdl", [[You sell light weapons to the wasteland, like 
pistols and
sub machine guns.]], {}, "light", 3, 45, 0, false, false, false)

TEAM_BANDIT = AddExtraTeam("Bandit", Color(139, 69, 19, 255), "models/player/Phoenix.mdl", [[As a bandit, you rob survivors in the wasteland.
You can try to mug people in the towns, too, but
the chance of getting arrested or shot is higher.
You and the other bandits can also try to take
over a town and make it your base. You can either
force the citizens to stay, or drive them out.]], {}, "bandit", 4, 35, 0, false, false, false)

TEAM_HITMAN = AddExtraTeam("Mercenary", Color(153, 0, 0, 255), "models/player/leet.mdl", [[As a mercenary, you accept hits from people that want
someone dead. You ask around if someone wants a
hit or advert your services with the /advert
command. Someone can place a hit by pressing
E while looking at you. You decide wether or
not you accept the hit. When you accept or
complete a hit, type /advert Hit accepted! or
/advert Hit completed! for extra clearity.
Beware though, hits are illegal and you
can be arrested for it!

IMPORTANT: YOU MUST HAVE A VALID REASON TO
PUT A HIT ON SOMEONE OR THE MERCENARY WILL BE
DEMOTED AND THE PLACER WILL BE KICKED!!]], {"m9k_m24"}, "mercenary", 3, 50, 0, false, false, false)

TEAM_BMD = AddExtraTeam("Black Market Dealer", Color(51, 0, 0, 255), "models/player/Group03/Male_01.mdl", [[A Black Market Dealer sells illegal 
stuff, like
knives, lockpicks and keypad crackers. Be careful
of the cops though, they may arrest you if they
catch you selling your wares.]], {}, "bmd", 2, 45, 0, false, false, false)

TEAM_SCIENTIST = AddExtraTeam("Scientist", Color(0, 255, 51, 255),
{"models/player/apsci_male_01.mdl",
 "models/player/apsci_male_02.mdl",
 "models/player/apsci_male_03.mdl",
 "models/player/apsci_male_04.mdl",
 "models/player/apsci_male_05.mdl",
 "models/player/apsci_male_06.mdl",
 "models/player/apsci_male_07.mdl",
 "models/player/apsci_male_08.mdl",
 "models/player/apsci_male_09.mdl"
}, [[A Scientist tries to find the cure to the
zombie apocalypse. Work together with the
other scientists to find a way to save the
world. How you get this cure is up to you.
You can also heal people with your medkit.
You can do this for free or for a small price.]], {"med_kit"}, "scientist", 5, 50, 0, false, false, false)


/*---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------*/
GAMEMODE.DefaultTeam = TEAM_CITIZEN


/*---------------------------------------------------------------------------
Define which teams belong to civil protection
Civil protection can set warrants, make people wanted and do some other police related things
---------------------------------------------------------------------------*/
GAMEMODE.CivilProtection = {
	[TEAM_POLICE] = true,
	[TEAM_WLOFFICER] = true,
	[TEAM_MAYOR] = true,
	[TEAM_VICEMAYOR] = true,
}

/*---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------*/
DarkRP.addHitmanTeam(TEAM_HITMAN)



Very strange because in those lines there isn’t even an “=” or “( )”. Someone help me?

[editline]1st March 2014[/editline]

Fixed it, I removed “cook = true” from the Food Supplier job and it worked. Now to find out how to make it a cook…