DarkRP jobs not loading in

My custom DarkRP jobs refuse to load in, The darkrpmodifications Jobs.lua reads as such-



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_FBI = DarkRP.createJob("Federal Police", {
	color = Color(34, 0, 255, 255),
	model = {"models/fbi_pack/fbi_01.mdl",
	"models/fbi_pack/fbi_02.mdl",
	"models/fbi_pack/fbi_03.mdl",
	"models/fbi_pack/fbi_04.mdl",
	"models/fbi_pack/fbi_05.mdl",
	"models/fbi_pack/fbi_06.mdl",
	"models/fbi_pack/fbi_07.mdl",
	"models/fbi_pack/fbi_08.mdl",
	"models/fbi_pack/fbi_09.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 = {"weapon_fists","arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker"},
	command = "fbi",
	max = 3,
	salary = GAMEMODE.Config.normalsalary * 1.45,
	admin = 0,
	vote = true,
	hasLicense = true,
	ammo = {
		["pistol"] = 60,
	}
})

/*---------------------------------------------------------------------------
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_CHIEF] = true,
	[TEAM_MAYOR] = true,
}

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



What did I do wrong?

If that is the entire file, you’re missing /* at the top of the file…

Thanks, will try again

[editline]29th June 2014[/editline]

Did this


 
 /*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_FBI = DarkRP.createJob("Federal Police", {
	color = Color(34, 0, 255, 255),
	model = {"models/fbi_pack/fbi_01.mdl",
	"models/fbi_pack/fbi_02.mdl",
	"models/fbi_pack/fbi_03.mdl",
	"models/fbi_pack/fbi_04.mdl",
	"models/fbi_pack/fbi_05.mdl",
	"models/fbi_pack/fbi_06.mdl",
	"models/fbi_pack/fbi_07.mdl",
	"models/fbi_pack/fbi_08.mdl",
	"models/fbi_pack/fbi_09.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 = {"weapon_fists","arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker"},
	command = "fbi",
	max = 3,
	salary = GAMEMODE.Config.normalsalary * 1.45,
	admin = 0,
	vote = true,
	hasLicense = true,
	ammo = {
		["pistol"] = 60,
	}
})

/*---------------------------------------------------------------------------
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_CHIEF] = true,
	[TEAM_MAYOR] = true,
}

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

and it still wont pop up, any guesses?

Copied / pasted into test file; works for me…

What is the error? Use -condebug in server launch-options and show us the console.log in garrysmod/ after server starts.

You need to post the error or else we can’t do anything.

I decided to re-create your code. You better thank me if it works because it took me a while:
I DID NOT ADD THE AMMO




TEAM_FBI = DarkRP.createJob('Federal Police', {
	color = Color(32, 0, 255, 255),
	model = "models/fbi_pack/fbi_01.mdl", 	"models/fbi_pack/fbi_02.mdl", 	"models/fbi_pack/fbi_03.mdl", 	"models/fbi_pack/fbi_04.mdl", 	"models/fbi_pack/fbi_05.mdl", 	"models/fbi_pack/fbi_06.mdl", 	"models/fbi_pack/fbi_07.mdl", 	"models/fbi_pack/fbi_08.mdl", 	"models/fbi_pack/fbi_09.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 ="keyword">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  to alert the public to the presence of a criminal.]],
	weapons = {"weapon_fists","arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker"},
	command = 'fbi',
	max = 3,
	salary = 45,
	admin = 0,
	vote = true,
	hasLicense = true,
})



That worked! what did you change