DarkRP Job Problem

Okay so i just got my darkrp server and i installed the modification addon and edited jobs.lua to this-


/*---------------------------------------------------------------------------
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:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua

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


Add jobs under the following line:
---------------------------------------------------------------------------*/


TEAM_OSAMA = AddExtraTeam("Osama", Color(0, 0, 0, 255), "models/code_gs/osama/osamaplayer.mdl", [[Osama is the leader of the terrorist\'s in the
city.
With his power he coordinates with the
terrorist\'s and terrorizes the city.
He has the ability to break into houses by using a
lockpick.
Osama possesses the ability to unarrest,bomb, and
terrorizing the city.]], {"unarrest_stick","lockpick","keypad_cracker","m9k_ak74","m9k_suicide_bomb"}, "osama", 1, 100, 0, false, false, false)



TEAM_TERRORIST = AddExtraTeam("Terrorist", Color(0, 0, 0, 255), "models/player/kuma/alqaeda_commando.mdl", "models/player/kuma/taliban_bomber.mdl", "models/player/kuma/taliban_grunt.mdl", "models/player/kuma/taliban_rpg.mdl", [[Terrorist\'s follow their boss Osama.
You may or may not base with Osama but you shall
never harm,terrorize,or raid him.
You have the ability to break into houses by using
a lockpick.
You possess the ability to unarrest and or
terrorize the city.]], {"unarrest_stick","lockpick","keypad_cracker"}, "terrorist", 4, 50, 0, false, false, false)

TEAM_SWAT = AddExtraTeam("Swat", Color(0, 0, 255, 255), "models/player/ct_gign.mdl", "models/player/ct_gsg9.mdl", "models/player/ct_sas.mdl", [[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 or weapon 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]], {"unarrest_stick","arrest_stick","m9k_glock","door_ram","stunstick","weaponchecker"}, "swat", 4, 100, 0, true, true, false)



TEAM_SWATCHIEF = AddExtraTeam("Swat Chief", Color(0, 0, 255, 255), "models/player/ct_urban.mdl", [[The protector of every citizen that lives in the
city.
You have the power to arrest criminals and protect
innocents.
You have the power to give the swat team orders.
Hit a player with your arrest baton to put them
in jail.
Bash a player with a stunstick or weapon 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]], {"unarrest_stick","stunstick","arrest_stick","door_ram","weaponchecker","m9k_amd65","m9k_deagle"}, "swatchief", 1, 100, 0, false, true, {Swat})




TEAM_HB = AddExtraTeam("Hobo", Color(153, 102, 0, 255), "models/player/corpse1.mdl", [[The lowest member of society. Everybody laughs at
you.
You have no home.
Beg for your food and money
Sing for everyone who passes to get money
You can mic spam but can be killed if not
following orders to stop
Make your own wooden home somewhere in a corner or
outside someone else\'s door
You may have printers and guns.]], {"weapon_bugbait","weapon_fists"}, "hobo", 5, 0, 0, false, false, false)



TEAM_MED = AddExtraTeam("Medic", Color(51, 204, 255, 255), "models/player/kleiner.mdl", [[With your medical knowledge you work to restore
players to full health.
Without a medic, people cannot be healed.
Left click with the Medical Kit to heal other
players.
Right click with the Medical Kit to heal
yourself.
You may join government officials if granted permission.
You may only base with a gang that already
consists of four members.]], {"med_kit"}, "medic", 3, 75, 0, false, false, false)



TEAM_GD = AddExtraTeam("Light Gundealer", Color(255, 102, 0, 255), "models/player/monk.mdl", [[A Gun Dealer is a person who can sell guns to
other people.
Make sure you aren\'t caught selling illegal
firearms to the public! You might get arrested!
You may not join a gang however you can have
bodyguards.]], {}, "gd", 2, 50, 0, false, false, false)



TEAM_HGD = AddExtraTeam("Heavy Gundealer", Color(255, 102, 0, 255), "models/player/monk.mdl", [[A Heavy Gun Dealer is a person who can sell dangerous guns to
the public.
Make sure you aren\'t caught selling illegal
firearms to the public! You might get arrested!
You may not join a gang however you can have
bodyguards.]], {}, "hgd", 2, 50, 0, false, false, false)



TEAM_MBOSS = AddExtraTeam("Mob Boss", Color(153, 153, 153, 255), "models/player/gman_high.mdl", [[The Mob boss is the boss of the criminals in the city.
		With his power he coordinates the gangsters and forms an efficient crime organization.
	He has the ability to break into houses by using a lockpick.
		The Mob boss posesses the ability to unarrest you.]], {"unarrest_stick","lockpick","keypad_cracker","m9k_thompson","m9k_colt1911"}, "mobboss", 1, 100, 0, false, false, false)



TEAM_GANG = AddExtraTeam("Gangster", Color(153, 153, 153, 255), "models/player/Group03/Female_01.mdl", "models/player/Group03/Female_02.mdl", "models/player/Group03/Female_03.mdl", "models/player/Group03/Female_04.mdl", "models/player/Group03/Female_05.mdl", "models/player/Group03/Female_06.mdl", "models/player/group03/male_01.mdl", "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"}, [[The lowest person of crime.A gangster generally works for the Mobboss who runs the crime family.The Mob boss sets your agenda and you follow it or you might be punished.]], {"unarrest_stick", }, "gangster", 1, 100, 0, false, false, false)

TEAM_PO = AddExtraTeam("Police Officer", Color(0, 0, 255, 255), "models/player/police.mdl", "models/player/police_fem.mdl", [[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 or weapon 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]], {"unarrest_stick","arrest_stick","m9k_colt1911","door_ram","stunstick","weaponchecker"}, "policeofficer", 4, 100, 0, true, true, false)




TEAM_Thief = AddExtraTeam("Thief", Color(126, 122, 122, 255), "models/jessev92/player/misc/vendettaguy.mdl", [[You are a intermediate criminal.
With your skill of burglary you are able to steal and also mug.You are able to join a organization or even start one.]], {"unarrest_stick","lockpick","keypad_cracker", }, "thief", 1, 100, 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_CP] = true,
	[TEAM_CHIEF] = true,
	[TEAM_MAYOR] = true,
	[TEAM_SWAT] = true,
	[TEAM_SWATCHIEF] = true,
}

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


The jobs dont show up in f4 menu, and i dont get lua errors when joining the server, any ideas?

[editline]24th March 2014[/editline]


TEAM_THIEF = AddExtraTeam("Thief", Color(50, 150, 28, 255), "models/v/v.mdl", [[You are one of the basic criminals of the city.With your skill of burglary you are able to join an organization or even create one.
You have the ability to break into houses or mug.]], {"unarrest_stick","lockpick","keypad_cracker"}, "thief", 3, 50, 0, false, false, false)

TEAM_SWAT = AddExtraTeam("Swat", Color(25, 25, 170, 255), "models/player/ct_gign.mdl","models/player/ct_gsg9.mdl","models/player/ct_sas.mdl", [[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 or weapon 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]], {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"}, "swat", 4, 100, 0, false, false, true)

TEAM_SWATCHIEF = AddExtraTeam("Swat Chief", Color(25, 25, 170, 255), "models/player/ct_urban.mdl", [[The protector of every citizen that lives in the city.You have the power to arrest criminals and protect innocents.You have the power to give the swat team orders.Hit a player with your arrest baton to put them in jail.Bash a player with a stunstick or weapon 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]], {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"}, "swatchief", 4, 100, 0, false, false, true)

TEAM_TERROR = AddExtraTeam("Terrorist", Color(0,0, 0, 255), "models/player/kuma/alqaeda_commando.mdl","models/player/kuma/taliban_bomber.mdl","models/player/kuma/taliban_grunt.mdl","models/player/kuma/taliban_rpg.mdl", [[Terrorist's follow their boss Osama.You may or may not base with Osama but you shall never harm,terrorize,or raid him.You have the ability to break into houses by using a lockpick.
	You possess the ability to unarrest and or terrorize the city.]], {"unarrest_stick"}, "terrorist", 4, 50, 0, false, false, false)

TEAM_OSAMA = AddExtraTeam("Osama", Color(0,0,0, 255), "models/code_gs/osama/osamaplayer.mdl", [[Osama is the leader of the terrorist's in the city.With his power he coordinates with the terrorist's and terrorizes the city.He has the ability to break into houses by using a lockpick.
	Osama possesses the ability to unarrest,bomb, and terrorizing the city.]], {"lockpick", "unarrest_stick", "keypad_cracker", "m9k_ak74", "m9k_colt1911", }, "osama", 1, 120, 0, false, false, false)

TEAM_HITMAN = AddExtraTeam("Hitman", Color(153, 153, 51, 255), "models/player/leet.mdl", [[You get payed by others to kill people]], {"lockpick","keypad_cracker","m9k_m98b"
}, "hitman", 1, 10, 0, false, true, false)

TEAM_BMD = AddExtraTeam("Black Market Dealer", Color(0, 150, 58, 255), "models/player/phoenix.mdl", [["You sell exclusive weapons and tools. These are highly illegal and can get you arrested. Keep your eyes open for any officials. ]], {"m9k_model3russian",}, "blackmarketdealer", 1, 75, 0, false, false, false)

TEAM_NINJA = AddExtraTeam("Ninja", Color(204, 153, 255, 255), "models//player/t_arctic.mdl", [[You are a ninja, you are to raid unnoticed, and
can only kill if necessary.  You work alone and
strike swiftly.]], {"m9k_knife","lockpick","keypad_cracker", }, "ninja", 2, 30, 0, false, false, false)

Recoded everything and right after thief no jobs show up in f4 menu

AddExtraTeam should be DarkRP.createJob in darkrp 2.5

Update:


/*---------------------------------------------------------------------------
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:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua

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


Add jobs under the following line:
---------------------------------------------------------------------------*/

TEAM_POLICEE = AddExtraTeam("Civil Protection", {
	color = Color(0, 0, 255, 255),
	model = {"models/player/police.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", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"},
	command = "police",
	max = 5,
	salary = 50,
	admin = 0,
	vote = false,
	hasLicense = true
})

TEAM_THIEF = AddExtraTeam("Thief", Color(150, 255, 255, 255), "NOMODEL", [[You are skilled in burglary. You are able to start an organization or join one. You have the right to raid or mug. ]], {"unarrest_stick","lockpick","keypad_cracker"}, "thief", 3, 80, 0, false, false, false)

TEAM_IMOB = AddExtraTeam("Italian Mob Boss", Color(0, 0, 0, 255), "NO MODEL", [[You are the leader of the Italian Mob. You set the plan and your mobsters execute it. Do what it takes to take out the German Mafia.]], {"lockpick","keypad_cracker","unarrest_stick","weapon_thompson"}, "italianmobboss", 1, 100, 0, false, false, false)

TEAM_GANGG = DarkRP.createJob("Italian Mobster", {
	color = Color(0, 0, 0, 255),
	model = {
		"models/player/Group03/Male_09.mdl"},
	description = [[The lowest person of crime.
		You work for the Mob Boss who generally runs the italian crime family.
		The Mob Boss sets your agenda and you follow it or you might be punished.]],
	weapons = {},
	command = "imobster",
	max = 10,
	salary = GAMEMODE.Config.normalsalary,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_RMAFIA = AddExtraTeam("Russian Mafia Boss", Color(255, 178, 54, 255), "NO MODEL", [[You are the leader of the Rusian Mafia. You set the plan and your mobsters execute it. Do what it takes to take out the Italian Mob.]], {"lockpick","keypad_cracker","unarrest_stick","weapon_thompson"}, "italianmobboss", 1, 100, 0, false, false, false)

TEAM_RMEMBER = DarkRP.createJob("Russian Mafia Member", {
	color = Color(0, 0, 0, 255),
	model = {
		"models/player/Group03/Male_09.mdl"},
	description = [[The lowest person of crime.
		You work for the Russian Mafia Boss who generally runs the rusian crime family.
		The Mafia Boss sets your agenda and you follow it or you might be punished.]],
	weapons = {},
	command = "rgangster",
	max = 10,
	salary = GAMEMODE.Config.normalsalary,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_OSAMA = AddExtraTeam("Osama", Color(0, 0, 0, 255), "NOMODEL", [[You plan attacks on the city with your fellow
Terrorists. You have the power to raid and mug(mug required 2 terrorists to be with you). You can also go around the city starting fires. ]], {"m9k_ak74"}, "osama", 1, 100, 0, false, false, false)

TEAM_TERRORIST = AddExtraTeam("Terrorist", Color(0, 0, 0, 255), "models/player/kuma/alqaeda_commando.mdl",
[[You follow Osama\'s orders and help him terrorize the
city. ]], {"unarrest_stick"}, "terrorist", 3, 50, 0, false, false, false)

TEAM_GUNN = AddExtraTeam("Gun Dealer", Color(255, 140, 0, 255), "models/player/monk.mdl", [[A Gun Dealer is a only person who can sell guns to other people.
		Make sure you aren't caught selling illegal firearms to the public! You might get arrested! ]], {}, "gundealer", 3, GAMEMODE.Config.normalsalary, 0, false, false, false)
		
TEAM_HGUN = AddExtraTeam("Advanced Gun Dealer", Color(255, 140, 0, 255), "models/player/monk.mdl", [[A Advanced Gun Dealer is the a person who can sell heavy guns to other people.
		Make sure you aren't caught selling illegal firearms to the public! You might get arrested! ]], {}, "advgundealer", 1, GAMEMODE.Config.normalsalary, 0, false, false, false)
		
TEAM_MEDICC = AddExtraTeam("Medic", Color(47, 79, 79, 255), "models/player/kleiner.mdl", 
       [[With your medical knowledge you work to restore players to full health.
		Without a medic, people cannot be healed.
		Left click with the Medical Kit to heal other players.
		Right click with the Medical Kit to heal yourself.You are able
        to join a gang if it consists of 4 players already ]], {"med_kit"}, "medic", 3, GAMEMODE.Config.normalsalary, 0, false, false, false)
		
TEAM_HOBOO = AddExtraTeam("Hobo", Color(80, 45, 0, 255), "models/player/corpse1.mdl", 
	   [[The lowest member of society. Everybody laughs at you.
		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","weapon_fists"}, "hobo", 10, 0, 0, false, false, false)
		
TEAM_HOBOKING = AddExtraTeam("Hobo King", Color(80, 45, 0, 255), "models/player/charple01.mdl", 
	   [[The lowest member of society, yet the highest of the hobos. Everybody laughs at you.
		You have no home.
		Beg for your food and money
		Sing for everyone who passes to get money
		You are able to make a larger house than regular regular hobos. ]], {"weapon_bugbait","weapon_fists"}, "hoboking", 1, 0, 0, false, false, false)

TEAM_PARAMEDIC = AddExtraTeam("Paramedic", Color(0, 0, 255, 255), "NO MODEL", 
       [[With your medical knowledge you work to restore players to full health.
		Without a paramedic, people cannot be healed or saved .
		Left click with the Medical Kit to heal other players.
		Right click with the Medical Kit to heal yourself. You go around town in your ambulance truck aiding citizens. ]], {"med_kit"}, "medic", 3, GAMEMODE.Config.normalsalary, 0, false, false, false)

TEAM_HITMAN = AddExtraTeam("Hired Gun", Color(0, 140, 129, 255), "models/player/monk.mdl", 
        [[You are a hired gunman. You are payed to assinate.
         Unlike regular criminals you may not be in or aid a gang.]], {}, "advgundealer", 1, GAMEMODE.Config.normalsalary, 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_POLICEE] = true,
	[TEAM_CHIEF] = true,
	[TEAM_MAYOR] = true,
	[TEAM_S.W.A.T] = true,
	[TEAM_S.W.A.TCHIEF] = true,
	[TEAM_PARAMEDIC] = true,
}

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


Current code that works but when i add this bottom code it wont show up?


TEAM_SWAT = AddExtraTeam("Swat", {
	color = Color(0, 0, 255, 255),
	model = {"Forgot model but i had a default CSS one"},
	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.
                You follow the swat chiefs orders]],
	weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"},
	command = "swat",
	max = 5,
	salary = 50,
	admin = 0,
	vote = false,
	hasLicense = true
})