Help with Gmod Job Errors

I have been having a lot of errors with this so if you could me fix it that would be great!

Here are the errors it is giving me in console




[ERROR] addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:64: '}' expected near 'models'
  1. unknown - addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:0



And here is my code!



/*---------------------------------------------------------------------------
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_ASSASSIN = DarkRP.createJob("Assassin", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/Aiden_Pearce.mdl"},
    description = [[You are an assassin you job is to take hits from people and kill you assigned hit! You may not raid unless your target is in a base, you may not mug, or kidnap as this job!]],
    weapons = {"weapon_ak472"},
    command = "assassin",
    max = 2,
    admin = 0,
    salary = 65,
    vote = false,
    hasLicense = false,
     
       customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
        CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_BILLIONAIR = DarkRP.createJob("Billionair", {
    color = Color(0, 255, 0, 255),
    model = {
"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_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"
},
    description = [[You are a billion air you job is to build luxery homes and show off them!]],
    weapons = {},
    command = "billionair",
    max = 5,
    salary = 200,
    admin = 0,
    vote = false,
    hasLicense = false,
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
        CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_BATMAN = DarkRP.createJob("Batman", {
    color = Color(0, 255, 0, 255),
    model = {""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_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""},
    description = [[You are the protector of the city find joker and make sure that he isnt up to any good! You can't mug, kidnap as this job! You may not kill joker unless you see him do something EVIL! ]],
    weapons = {"weapon_ak472"},
    command = "batman",
    max = 1,
    salary = 85,
    admin = 0,
    vote = false,
    hasLicense = true,
     
       customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
        CustomCheckFailMsg = "This job is only for Donators.",
})


TEAM_JOKER = DarkRP.createJob("Joker", {
    color = Color(255, 0, 255, 255),
    model = {"models/player/Group03/Female_02.mdl", "models/player/Group03/Female_03.mdl", "models/player/Group03/Female_04.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"},
    description = [[You are the Joker kidnap, mug, and raid people to get Batmans attention!]],
    weapons = {"weapon_ak472"},
    command = "joker",
    max = 1,
    salary = 85,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
        CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_POLICE = DarkRP.createJob("Police Officer", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/Group03/Female_02.mdl", "models/player/Group03/Female_03.mdl", "models/player/Group03/Female_04.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"},
    description = [[You are a Police Officer you must protect the city! You cannot raid unless you have a warrent, you can't mug, or kidnap!]],
    weapons = {"weapon_ak472"},
    command = "police",
    max = 8,
    salary = 50,
    admin = 0,
    vote = false,
    hasLicense = true,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_THEIF = DarkRP.createJob("Theif", {
    color = Color(255, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a thief you must print money, raid, mug, kidnap people for money, but remember dont get caught by the cops!]],
    weapons = {""},
    command = "thief",
    max = 6,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_RAPE = DarkRP.createJob("Rapist", {
    color = Color(255, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a rapist go rape people but dont get caught or you will be jailed remeber you are not allowed to rape in public! You may not raid, you may mug, You cannot kidnap!]],
    weapons = {""},
    command = "rape",
    max = 1,
    salary = 25,
    admin = 0,
    vote = true,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_CRIBS = DarkRP.createJob("Cribs Member", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a cribs member follow you leader and remember the bloods are you enemys! You cannot random kill bloodz members unless you have started a war with them!]],
    weapons = {""},
    command = "cribs",
    max = 5,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_CRIBSLEADER = DarkRP.createJob("Cribs Leader", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the cribs leader, command the cribs and try to start a war against the bloods!]],
    weapons = {""},
    command = "cribsleader",
    max = 1,
    salary = 55,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_BLOODS = DarkRP.createJob("Bloods Member", {
    color = Color(255, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a bloods member follow you leader and remember the cribs are you enemys! You cannot random kill cribs members unless you have started a war with them!]],
    weapons = {""},
    command = "bloods",
    max = 5,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_BLOODSLEADER = DarkRP.createJob("Bloods Leader", {
    color = Color(255, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the bloods leader, command the bloods and try to start a war against the cribs!]],
    weapons = {""},
    command = "bloodsleader",
    max = 1,
    salary = 55,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_POLICECHIEF = DarkRP.createJob("Police Chief", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the police chief command the police and take the crime out of the city!]],
    weapons = {"weapon_ak472"},
    command = "policechief",
    max = 1,
    salary = 65,
    admin = 0,
    vote = false,
    hasLicense = true,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_SWAT = DarkRP.createJob("S.W.A.T", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are SWAT follow the SWAT leader and raid bases incase they have printers or illegal wepons! You need a warrent to raid!]],
    weapons = {"weapon_ak472"},
    command = "swat",
    max = 3,
    salary = 55,
    admin = 0,
    vote = true,
    hasLicense = true,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_SWATLEADER = DarkRP.createJob("S.W.A.T Leader", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the SWAT leader command the SWAT and raid bases in order to find Printers or illegal wepons! You need a warrent to raid!]],
    weapons = {"weapon_ak472"},
    command = "swatleader",
    max = 1,
    salary = 100,
    admin = 0,
    vote = false,
    hasLicense = true,
     
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
        CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_MAYOR = DarkRP.createJob("Mayor", {
    color = Color(255, 0, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the mayor of this city make sure all is good, and make the laws!]],
    weapons = {""},
    command = "mayor",
    max = 1,
    salary = 75,
    admin = 0,
    vote = true,
    hasLicense = true,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_HITMAN = DarkRP.createJob("Hitman", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a hitman accept hits on targets and eliminate them! You may not raid unless you hit is inside the base, you may not mug, or kidnap!]],
    weapons = {""},
    command = "hitman",
    max = 2,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_HIREDGUARD = DarkRP.createJob("Hired Guard", {
    color = Color(0, 255, 0, 0),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a hired guard get paid to watch peoples valuables or guard them!]],
    weapons = {"weapon_ak472"},
    command = "hiredguard",
    max = 3,
    salary = 50,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_DOCTOR = DarkRP.createJob("Doctor", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a doctor help people for money!]],
    weapons = {""},
    command = "doctor",
    max = 2,
    salary = 125,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
        CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_GUNDEALER = DarkRP.createJob("Gun Dealer", {
    color = Color(0, 255, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a gun dealer sell guns to the public and dont get caught selling ilegal wepons!]],
    weapons = {""},
    command = "gundealer",
    max = 4,
    salary = 50,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_DRUGDEALER = DarkRP.createJob("Drug Dealer", {
    color = Color(0, 255, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a Drug Dealer sell drugs to the public and dont get caught!]],
    weapons = {""},
    command = "drugdealer",
    max = 4,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_DETECTIVE = DarkRP.createJob("Detective", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a detective go under cover and infeltrate bases and try to get dirt on them to arrest them!]],
    weapons = {"weapon_ak472"},
    command = "detective",
    max = 2,
    salary = 75,
    admin = 0,
    vote = false,
    hasLicense = true,
     
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
        CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_HACKER = DarkRP.createJob("Hacker", {
    color = Color(255, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a hacker work with thief to pull of raid or hack atms!]],
    weapons = {"weapon_ak472"},
    command = "hacker",
    max = 2,
    salary = 60,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
        CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_Cave = DarkRP.createJob("Cave Creatures", {
    color = Color(255, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a sewer lover protect the sewers from up landers!]],
    weapons = {""},
    command = "cave",
    max = 4,
    salary = 0,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})


TEAM_PET = DarkRP.createJob("Pet", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[Find a owner and a nice home to grow up in!]],
    weapons = {""},
    command = "pet",
    max = 4,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_ADMIN = DarkRP.createJob("Admin on Duty!", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[Administor class!]],
    weapons = {""},
    command = "admin",
    max = 5,
    salary = 0,
    admin = 1,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_OWNER = DarkRP.createJob("Owner", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[Owner Class]],
    weapons = {""},
    command = "owner",
    max = 1,
    salary = 1000,
    admin = 2,
    vote = false,
    hasLicense = false,
     
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
        CustomCheckFailMsg = "This job is only for Donators.",
})



/*---------------------------------------------------------------------------
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_POLICEOFFICER] = true,
	[TEAM_POLICECHIEF] = true,
	[TEAM_MAYOR] = true,
[TEAM_SWAT] = true,
[TEAM_SWATLEADER] = true,
}

/*---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------*/
AddAgenda("Police Agenda!", TEAM_POLICECHIEF, {TEAM_POLICEOFFICER, TEAM_MAYOR, TEAM_DETECTIVE})
AddAgenda("Swat Agenda", TEAM_SWATLEADER, {TEAM_SWAT})
AddAgenda("Admin Agenda!", TEAM_OWNER, {TEAM_ADMIN})
AddAgenda("Cribs Agenda!", TEAM_CRIBSLEADER, {TEAM_CRIBS})
AddAgenda("Bloods Agenda!", TEAM_CRIBSBLOODS, {TEAM_BLOODS})
DarkRP.addHitmanTeam(TEAM_HITMAN)
DarkRP.addHitmanTeam(TEAM_ASSASSIN)


Well your code is all over the place. You have spacing where spaces are not supposed to be. Give me a few minutes and I will paste the code.

[Note] Now remember this was quickly corrected. So If you have any errors just reply back.


/*---------------------------------------------------------------------------
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_ASSASSIN = DarkRP.createJob("Assassin", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/Aiden_Pearce.mdl"},
    description = [[You are an assassin you job is to take hits from people and kill you assigned hit! You may not raid unless your target is in a base, you may not mug, or kidnap as this job!]],
    weapons = {"weapon_ak472"},
    command = "assassin",
    max = 2,
    admin = 0,
    salary = 65,
    vote = false,
    hasLicense = false,
    customCheck = function(ply) return ply:IsUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators."
})

TEAM_BILLIONAIR = DarkRP.createJob("Billionair", {
    color = Color(0, 255, 0, 255),
    model = {
		"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_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"
	},
    description = [[You are a billion air you job is to build luxery homes and show off them!]],
    weapons = {},
    command = "billionair",
    max = 5,
    salary = 200,
    admin = 0,
    vote = false,
    hasLicense = false,
    customCheck = function(ply) return ply:IsUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators."
})

TEAM_BATMAN = DarkRP.createJob("Batman", {
    color = Color(0, 255, 0, 255),
    model = {
		"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_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"
	},
    description = [[You are the protector of the city find joker and make sure that he isnt up to any good! You can't mug, kidnap as this job! You may not kill joker unless you see him do something EVIL! ]],
    weapons = {"weapon_ak472"},
    command = "batman",
    max = 1,
    salary = 85,
    admin = 0,
    vote = false,
    hasLicense = true,
	customCheck = function(ply) return ply:IsUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators."
})


TEAM_JOKER = DarkRP.createJob("Joker", {
    color = Color(255, 0, 255, 255),
    model = {
		"models/player/Group03/Female_02.mdl", 
		"models/player/Group03/Female_03.mdl", 
		"models/player/Group03/Female_04.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"
	},
    description = [[You are the Joker kidnap, mug, and raid people to get Batmans attention!]],
    weapons = {"weapon_ak472"},
    command = "joker",
    max = 1,
    salary = 85,
    admin = 0,
    vote = false,
    hasLicense = false,
    customCheck = function(ply) return ply:IsUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators."
})

TEAM_POLICE = DarkRP.createJob("Police Officer", {
    color = Color(0, 0, 255, 255),
    model = {
		"models/player/Group03/Female_02.mdl", 
		"models/player/Group03/Female_03.mdl", 
		"models/player/Group03/Female_04.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"
	},
    description = [[You are a Police Officer you must protect the city! You cannot raid unless you have a warrent, you can't mug, or kidnap!]],
    weapons = {"weapon_ak472"},
    command = "police",
    max = 8,
    salary = 50,
    admin = 0,
    vote = false,
    hasLicense = true
})

TEAM_THEIF = DarkRP.createJob("Theif", {
    color = Color(255, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a thief you must print money, raid, mug, kidnap people for money, but remember dont get caught by the cops!]],
    weapons = {},
    command = "thief",
    max = 6,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false
})

TEAM_RAPE = DarkRP.createJob("Rapist", {
    color = Color(255, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a rapist go rape people but dont get caught or you will be jailed remeber you are not allowed to rape in public! You may not raid, you may mug, You cannot kidnap!]],
    weapons = {},
    command = "rape",
    max = 1,
    salary = 25,
    admin = 0,
    vote = true,
    hasLicense = false
})

TEAM_CRIBS = DarkRP.createJob("Cribs Member", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a cribs member follow you leader and remember the bloods are you enemys! You cannot random kill bloodz members unless you have started a war with them!]],
    weapons = {},
    command = "cribs",
    max = 5,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false
})

TEAM_CRIBSLEADER = DarkRP.createJob("Cribs Leader", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the cribs leader, command the cribs and try to start a war against the bloods!]],
    weapons = {},
    command = "cribsleader",
    max = 1,
    salary = 55,
    admin = 0,
    vote = false,
    hasLicense = false
})

TEAM_BLOODS = DarkRP.createJob("Bloods Member", {
    color = Color(255, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a bloods member follow you leader and remember the cribs are you enemys! You cannot random kill cribs members unless you have started a war with them!]],
    weapons = {},
    command = "bloods",
    max = 5,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false
})

TEAM_BLOODSLEADER = DarkRP.createJob("Bloods Leader", {
    color = Color(255, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the bloods leader, command the bloods and try to start a war against the cribs!]],
    weapons = {},
    command = "bloodsleader",
    max = 1,
    salary = 55,
    admin = 0,
    vote = false
})

TEAM_POLICECHIEF = DarkRP.createJob("Police Chief", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the police chief command the police and take the crime out of the city!]],
    weapons = {"weapon_ak472"},
    command = "policechief",
    max = 1,
    salary = 65,
    admin = 0,
    vote = false,
    hasLicense = true
})

TEAM_SWAT = DarkRP.createJob("S.W.A.T", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are SWAT follow the SWAT leader and raid bases incase they have printers or illegal wepons! You need a warrent to raid!]],
    weapons = {"weapon_ak472"},
    command = "swat",
    max = 3,
    salary = 55,
    admin = 0,
    vote = true,
    hasLicense = true
})

TEAM_SWATLEADER = DarkRP.createJob("S.W.A.T Leader", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the SWAT leader command the SWAT and raid bases in order to find Printers or illegal wepons! You need a warrent to raid!]],
    weapons = {"weapon_ak472"},
    command = "swatleader",
    max = 1,
    salary = 100,
    admin = 0,
    vote = false,
    hasLicense = true
    customCheck = function(ply) return ply:IsUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators."
})

TEAM_MAYOR = DarkRP.createJob("Mayor", {
    color = Color(255, 0, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the mayor of this city make sure all is good, and make the laws!]],
    weapons = {},
    command = "mayor",
    max = 1,
    salary = 75,
    admin = 0,
    vote = true,
    hasLicense = true
})

TEAM_HITMAN = DarkRP.createJob("Hitman", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a hitman accept hits on targets and eliminate them! You may not raid unless you hit is inside the base, you may not mug, or kidnap!]],
    weapons = {},
    command = "hitman",
    max = 2,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false
})

TEAM_HIREDGUARD = DarkRP.createJob("Hired Guard", {
    color = Color(0, 255, 0, 0),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a hired guard get paid to watch peoples valuables or guard them!]],
    weapons = {"weapon_ak472"},
    command = "hiredguard",
    max = 3,
    salary = 50,
    admin = 0,
    vote = false,
    hasLicense = false
})

TEAM_DOCTOR = DarkRP.createJob("Doctor", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a doctor help people for money!]],
    weapons = {},
    command = "doctor",
    max = 2,
    salary = 125,
    admin = 0,
    vote = false,
    hasLicense = false,
    customCheck = function(ply) return ply:IsUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators."
})

TEAM_GUNDEALER = DarkRP.createJob("Gun Dealer", {
    color = Color(0, 255, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a gun dealer sell guns to the public and dont get caught selling ilegal wepons!]],
    weapons = {},
    command = "gundealer",
    max = 4,
    salary = 50,
    admin = 0,
    vote = false,
    hasLicense = false
})

TEAM_DRUGDEALER = DarkRP.createJob("Drug Dealer", {
    color = Color(0, 255, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a Drug Dealer sell drugs to the public and dont get caught!]],
    weapons = {},
    command = "drugdealer",
    max = 4,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false
})

TEAM_DETECTIVE = DarkRP.createJob("Detective", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a detective go under cover and infeltrate bases and try to get dirt on them to arrest them!]],
    weapons = {"weapon_ak472"},
    command = "detective",
    max = 2,
    salary = 75,
    admin = 0,
    vote = false,
    hasLicense = true,
    customCheck = function(ply) return ply:IsUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators."
})

TEAM_HACKER = DarkRP.createJob("Hacker", {
    color = Color(255, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a hacker work with thief to pull of raid or hack atms!]],
    weapons = {"weapon_ak472"},
    command = "hacker",
    max = 2,
    salary = 60,
    admin = 0,
    vote = false,
    hasLicense = false,
    customCheck = function(ply) return ply:IsUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators."
})

TEAM_Cave = DarkRP.createJob("Cave Creatures", {
    color = Color(255, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a sewer lover protect the sewers from up landers!]],
    weapons = {},
    command = "cave",
    max = 4,
    salary = 0,
    admin = 0,
    vote = false,
    hasLicense = false
})


TEAM_PET = DarkRP.createJob("Pet", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[Find a owner and a nice home to grow up in!]],
    weapons = {},
    command = "pet",
    max = 4,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false
})

TEAM_ADMIN = DarkRP.createJob("Admin on Duty!", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[Administor class!]],
    weapons = {},
    command = "admin",
    max = 5,
    salary = 0,
    admin = 1,
    vote = false,
    hasLicense = false
})

TEAM_OWNER = DarkRP.createJob("Owner", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[Owner Class]],
    weapons = {},
    command = "owner",
    max = 1,
    salary = 1000,
    admin = 2,
    vote = false,
    hasLicense = false,
    customCheck = function(ply) return ply:IsUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators."
})



/*---------------------------------------------------------------------------
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_POLICEOFFICER] = true,
	[TEAM_POLICECHIEF] = true,
	[TEAM_MAYOR] = true,
[TEAM_SWAT] = true,
[TEAM_SWATLEADER] = true,
}

/*---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------*/
AddAgenda("Police Agenda!", TEAM_POLICECHIEF, {TEAM_POLICEOFFICER, TEAM_MAYOR, TEAM_DETECTIVE})
AddAgenda("Swat Agenda", TEAM_SWATLEADER, {TEAM_SWAT})
AddAgenda("Admin Agenda!", TEAM_OWNER, {TEAM_ADMIN})
AddAgenda("Cribs Agenda!", TEAM_CRIBSLEADER, {TEAM_CRIBS})
AddAgenda("Bloods Agenda!", TEAM_CRIBSBLOODS, {TEAM_BLOODS})
DarkRP.addHitmanTeam(TEAM_HITMAN)
DarkRP.addHitmanTeam(TEAM_ASSASSIN)

There are still some errors!

[ERROR] addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:27: ‘<name>’ expected near ‘function’

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

Thats the error I got.

Okay did a quick fix I change the customCheck function. Seeing as this likes to mess up I am just going to upload the file.

http://play.yougold.org/jobs/jobs.lua

I got a new error
[ERROR] addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:266: ‘}’ expected (to close ‘{’ at line 255) near ‘customCheck’

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


/*---------------------------------------------------------------------------
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_ASSASSIN = DarkRP.createJob("Assassin", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/Aiden_Pearce.mdl"},
    description = [[You are an assassin you job is to take hits from people and kill you assigned hit! You may not raid unless your target is in a base, you may not mug, or kidnap as this job!]],
    weapons = {"weapon_ak472"},
    command = "assassin",
    max = 2,
    admin = 0,
    salary = 65,
    vote = false,
    hasLicense = false,
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_BILLIONAIR = DarkRP.createJob("Billionair", {
    color = Color(0, 255, 0, 255),
    model = {
		"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_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"
},
    description = [[You are a billion air you job is to build luxery homes and show off them!]],
    weapons = {},
    command = "billionair",
    max = 5,
    salary = 200,
    admin = 0,
    vote = false,
    hasLicense = false,
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_BATMAN = DarkRP.createJob("Batman", {
    color = Color(0, 255, 0, 255),
    model = {
	"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_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"
	},
    description = [[You are the protector of the city find joker and make sure that he isnt up to any good! You can't mug, kidnap as this job! You may not kill joker unless you see him do something EVIL! ]],
    weapons = {"weapon_ak472"},
    command = "batman",
    max = 1,
    salary = 85,
    admin = 0,
    vote = false,
    hasLicense = true, 
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators.",
})


TEAM_JOKER = DarkRP.createJob("Joker", {
    color = Color(255, 0, 255, 255),
    model = {
	"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_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"
	}, 
    description = [[You are the Joker kidnap, mug, and raid people to get Batmans attention!]],
    weapons = {"weapon_ak472"},
    command = "joker",
    max = 1,
    salary = 85,
    admin = 0,
    vote = false,
    hasLicense = false,  
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_POLICE = DarkRP.createJob("Police Officer", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/Group03/Female_02.mdl", 
	"models/player/Group03/Female_03.mdl", 
	"models/player/Group03/Female_04.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"},
    description = [[You are a Police Officer you must protect the city! You cannot raid unless you have a warrent, you can't mug, or kidnap!]],
    weapons = {"weapon_ak472"},
    command = "police",
    max = 8,
    salary = 50,
    admin = 0,
    vote = false,
    hasLicense = true,
    -- Insert customCheck here if you have one and want one.
})

TEAM_THEIF = DarkRP.createJob("Theif", {
    color = Color(255, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a thief you must print money, raid, mug, kidnap people for money, but remember dont get caught by the cops!]],
    weapons = {},
    command = "thief",
    max = 6,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_RAPE = DarkRP.createJob("Rapist", {
    color = Color(255, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a rapist go rape people but dont get caught or you will be jailed remeber you are not allowed to rape in public! You may not raid, you may mug, You cannot kidnap!]],
    weapons = {},
    command = "rape",
    max = 1,
    salary = 25,
    admin = 0,
    vote = true,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_CRIBS = DarkRP.createJob("Cribs Member", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a cribs member follow you leader and remember the bloods are you enemys! You cannot random kill bloodz members unless you have started a war with them!]],
    weapons = {},
    command = "cribs",
    max = 5,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_CRIBSLEADER = DarkRP.createJob("Cribs Leader", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the cribs leader, command the cribs and try to start a war against the bloods!]],
    weapons = {},
    command = "cribsleader",
    max = 1,
    salary = 55,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_BLOODS = DarkRP.createJob("Bloods Member", {
    color = Color(255, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a bloods member follow you leader and remember the cribs are you enemys! You cannot random kill cribs members unless you have started a war with them!]],
    weapons = {},
    command = "bloods",
    max = 5,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_BLOODSLEADER = DarkRP.createJob("Bloods Leader", {
    color = Color(255, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the bloods leader, command the bloods and try to start a war against the cribs!]],
    weapons = {},
    command = "bloodsleader",
    max = 1,
    salary = 55,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_POLICECHIEF = DarkRP.createJob("Police Chief", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the police chief command the police and take the crime out of the city!]],
    weapons = {"weapon_ak472"},
    command = "policechief",
    max = 1,
    salary = 65,
    admin = 0,
    vote = false,
    hasLicense = true,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_SWAT = DarkRP.createJob("S.W.A.T", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are SWAT follow the SWAT leader and raid bases incase they have printers or illegal wepons! You need a warrent to raid!]],
    weapons = {"weapon_ak472"},
    command = "swat",
    max = 3,
    salary = 55,
    admin = 0,
    vote = true,
    hasLicense = true,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_SWATLEADER = DarkRP.createJob("S.W.A.T Leader", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the SWAT leader command the SWAT and raid bases in order to find Printers or illegal wepons! You need a warrent to raid!]],
    weapons = {"weapon_ak472"},
    command = "swatleader",
    max = 1,
    salary = 100,
    admin = 0,
    vote = false,
    hasLicense = true,
     
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
        CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_MAYOR = DarkRP.createJob("Mayor", {
    color = Color(255, 0, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are the mayor of this city make sure all is good, and make the laws!]],
    weapons = {},
    command = "mayor",
    max = 1,
    salary = 75,
    admin = 0,
    vote = true,
    hasLicense = true,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_HITMAN = DarkRP.createJob("Hitman", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a hitman accept hits on targets and eliminate them! You may not raid unless you hit is inside the base, you may not mug, or kidnap!]],
    weapons = {},
    command = "hitman",
    max = 2,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_HIREDGUARD = DarkRP.createJob("Hired Guard", {
    color = Color(0, 255, 0, 0),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a hired guard get paid to watch peoples valuables or guard them!]],
    weapons = {"weapon_ak472"},
    command = "hiredguard",
    max = 3,
    salary = 50,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_DOCTOR = DarkRP.createJob("Doctor", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a doctor help people for money!]],
    weapons = {},
    command = "doctor",
    max = 2,
    salary = 125,
    admin = 0,
    vote = false,
    hasLicense = false,
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_GUNDEALER = DarkRP.createJob("Gun Dealer", {
    color = Color(0, 255, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a gun dealer sell guns to the public and dont get caught selling ilegal wepons!]],
    weapons = {},
    command = "gundealer",
    max = 4,
    salary = 50,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_DRUGDEALER = DarkRP.createJob("Drug Dealer", {
    color = Color(0, 255, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a Drug Dealer sell drugs to the public and dont get caught!]],
    weapons = {},
    command = "drugdealer",
    max = 4,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_DETECTIVE = DarkRP.createJob("Detective", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a detective go under cover and infeltrate bases and try to get dirt on them to arrest them!]],
    weapons = {"weapon_ak472"},
    command = "detective",
    max = 2,
    salary = 75,
    admin = 0,
    vote = false,
    hasLicense = true,
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_HACKER = DarkRP.createJob("Hacker", {
    color = Color(255, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a hacker work with thief to pull of raid or hack atms!]],
    weapons = {"weapon_ak472"},
    command = "hacker",
    max = 2,
    salary = 60,
    admin = 0,
    vote = false,
    hasLicense = false,
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators.",
})

TEAM_Cave = DarkRP.createJob("Cave Creatures", {
    color = Color(255, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[You are a sewer lover protect the sewers from up landers!]],
    weapons = {},
    command = "cave",
    max = 4,
    salary = 0,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})


TEAM_PET = DarkRP.createJob("Pet", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[Find a owner and a nice home to grow up in!]],
    weapons = {},
    command = "pet",
    max = 4,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_ADMIN = DarkRP.createJob("Admin on Duty!", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[Administor class!]],
    weapons = {},
    command = "admin",
    max = 5,
    salary = 0,
    admin = 1,
    vote = false,
    hasLicense = false,
     
    -- Insert customCheck here if you have one and want one.
})

TEAM_OWNER = DarkRP.createJob("Owner", {
    color = Color(0, 255, 0, 255),
    model = {"models/player/group01/male_01.mdl"},
    description = [[Owner Class]],
    weapons = {},
    command = "owner",
    max = 1,
    salary = 1000,
    admin = 2,
    vote = false,
    hasLicense = false,
    customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:IsSuperAdmin() end,
    CustomCheckFailMsg = "This job is only for Donators.",
})



/*---------------------------------------------------------------------------
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_POLICEOFFICER] = true,
	[TEAM_POLICECHIEF] = true,
	[TEAM_MAYOR] = true,
	[TEAM_SWAT] = true,
	[TEAM_SWATLEADER] = true,
}

/*---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------*/
AddAgenda("Police Agenda!", TEAM_POLICECHIEF, {TEAM_POLICEOFFICER, TEAM_MAYOR, TEAM_DETECTIVE})
AddAgenda("Swat Agenda", TEAM_SWATLEADER, {TEAM_SWAT})
AddAgenda("Admin Agenda!", TEAM_OWNER, {TEAM_ADMIN})
AddAgenda("Cribs Agenda!", TEAM_CRIBSLEADER, {TEAM_CRIBS})
AddAgenda("Bloods Agenda!", TEAM_CRIBSBLOODS, {TEAM_BLOODS})
DarkRP.addHitmanTeam(TEAM_HITMAN)
DarkRP.addHitmanTeam(TEAM_ASSASSIN)


[editline]17th October 2014[/editline]

@tripps
Why are you telling him to



    customCheck = function(ply) return CLIENT or ply:IsUserGroup() == "Donator" or ply:IsSuperAdmin() end,


@Lolcats the IsUserGroup is for fadmin. And return CLIENT is so that players can see the jobs.