DarkRP Error

Hello I have encountered an error with my darkrp, my jobs are not functioning properly, here are some console errors

Errors:



[ERROR] addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua:63: '}' expected (to close '{' at line 36) near 'admin'
  1. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua:0


I have the code for the admin job tell me what i should alter to fix this problem

Admin Job Code:


TEAM_ADMIN = DarkRP.createJob("Administration", {
    color = Color(0, 0, 0, 255),
    model = {"models/Combine_Super_Soldier.mdl"},
    description = [[This is not a RP Job! Help players and administrate the rules!]],
    weapons = {"weapon_keypadchecker", "unarrest_stick"},
    command = "admin",
    max = 0,
    salary = 0, 
    admin = 0,
    candemote = false,
	vote = false,
    hasLicense = false,
  
-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
customCheck = function(ply) return
    table.HasValue({"superadmin", "admin", "moderator", "owner", "rootadmin", "headadmin", "moderatorsupporter"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Administration Only!",
})

If you can find a solution for my that would be great, thanks!

[editline]28th October 2014[/editline]

UPDATE: I cut the admin job out of the jobs.lua and the error is still happening, for all my jobs i think? Should i remove “admin = 0” from all of my jobs?

can u post your jobs.lua ? so we can see what the problem is

My jobs.lua:


TEAM_CITIZEN = DarkRP.createJob("Citizen", {
	color = Color(20, 150, 20, 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 Citizen is the most basic level of society you can hold besides being a hobo. 
	    You have no specific role in city life.
	    Rules: 
		1. You're not a criminal, don't raid/mug.
	    2. You're not allowed to base with criminals.]],
	weapons = {},
	command = "citizen",
	max = 0,
	salary = 45,
	admin = 0,
	vote = false,
	hasLicense = false,
	candemote = false,
})


TEAM_HOBO = DarkRP.createJob("Hobo", {
	color = Color(80, 45, 0, 255),
	model = "models/player/corpse1.mdl",
	description = [[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
		Rules:
		1. You can mug players for there money but only when they are in your shack or in a discreet location.
		2. Max mug is $500 do "/y MUG <amount>" if you would like to mug.
		3. You cannot use PHX Props for your shack, use CSS or HL2 props.
		4. Do not punchwhore.
		RAID = NO. MUG = YES.]],
	weapons = {"weapon_bugbait", "weapon_fists"},
	command = "hobo",
	max = 8,
	salary = 0,
	admin = 0,
	vote = false,
	hasLicense = false,
	candemote = false,
	hobo = true,
})

TEAM_MOB = DarkRP.createJob("Mob Boss", {
	color = Color(25, 25, 25, 255),
	model = "models/player/gman_high.mdl",
	description = [[The Mob boss is the boss of the gangsters 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.
		Rules:
		1. Start a gang and recruit thugs.
		2. You MUST base with atleast one thug.
		3. You MUST raid with atleast another thug, no solo raiding.
		4. Do not kill unarmed players during a raid unless they threaten you.
		5. The Mafia is your rivals, do anything to destroy them.
		6. Max mug is $500 do "/y MUG <amount>" if you would like to mug.
		You can only mug the same person every 15 minutes.
		RAID = YES. MUG = YES.]],
	weapons = {"lockpick", "ekc", "unarrest_stick", "weapon_real_cs_famas"},
	command = "mobboss",
	max = 1,
	salary = 50,
	admin = 0,
	vote = false,
	hasLicense = false,
})

TEAM_THUG = DarkRP.createJob("Thug", {
	color = Color(75, 75, 75, 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 Thug, an outcast to society, you like to commit crimes.
		Rules:
		1. You can solo raid.
		2. Do not kill unarmed players during a raid unless they threaten you.
		3. Max mug is $500 do "/y MUG <amount>" if you would like to mug.
	    You can only mug the same person every 15 minutes.
		Tip: Buy lockpicks and keypad crackers from a Locksmith.
		RAID = YES. MUG = YES.]],
	    
	weapons = {},
	command = "thug",
	max = 6,
	salary = 50,
	admin = 0,
	vote = false,
	hasLicense = false,
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_THIEF = DarkRP.createJob("Thief", {
    color = Color(125, 125, 125, 255),
    model = {"models/player/arctic.mdl"},
    description = [[Use your thieving skills to break into peoples places. 
	    Rules:
		1. Do not kill unarmed players during a raid unless they threaten you.
		2. You can solo raid.
		RAID = YES. MUG = NO.]],
    weapons = {"lockpick", "ekc"},
    command = "thief",
    max = 5,
    salary = 50, 
    admin = 0,
    vote = false,
    hasLicense = false,
     
})


-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_MAFIA = DarkRP.createJob("Mafia Member", {
    color = Color(0, 0, 0, 255),
    model = {"models/player/suits/male_01_open_tie.mdl", "models/player/suits/male_02_open_tie.mdl", "models/player/suits/male_03_open_tie.mdl", "models/player/suits/male_04_open_tie.mdl", "models/player/suits/male_05_open_tie.mdl", "models/player/suits/male_06_open_tie.mdl", "models/player/suits/male_07_open_tie.mdl", "models/player/suits/male_08_open_tie.mdl", "models/player/suits/male_09_open_tie.mdl"},
    description = [[Listen to the Mafia Leader and commit crimes with your mafia.
	    Rules:
		1. Listen to the Mafia Leader.
		2. You MUST base with the Mafia Leader if he has a base.
		3. You MUST raid with atleast one mafia member, no solo raiding.
		4. Do not kill unarmed players during a raid unless they threaten you.
		5. Max mug is $500 do "/y MUG <amount>" if you would like to mug.
	    You can only mug the same person every 15 minutes.
		Tip: Buy lockpicks and keypad crackers from a Locksmith.
		RAID = YES. MUG = YES.]],
    weapons = {"weapon_usp"},
    command = "mafia",
    max = 6,
    salary = 50, 
    admin = 0,
    vote = false,
    hasLicense = false,
     
PlayerLoadout = function(ply) ply:GiveAmmo(20,m9k_ammo_pistol) end,
})

TEAM_MAYOR = DarkRP.createJob("Mayor", {
	color = Color(150, 20, 20, 255),
	model = "models/player/breen.mdl",
	description = [[The Mayor of the city creates laws to govern the city.
	If you are the mayor you may create and accept warrants.
	Type /wanted <name>  to warrant a player.
	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
	Rules:
	1. You cannot enforce the laws and help police with raiding.
	2. You cannot have laws that break the rules.
	3. You cannot base with criminals.]],
	weapons = {},
	command = "mayor",
	max = 1,
	candemote = false,
	salary = 80,
	admin = 0,
	vote = true,
	hasLicense = false,
	mayor = true
    PlayerDeath = function(ply)
                if ply:Team() == TEAM_MAYOR then
                        ply:changeTeam( TEAM_CITIZEN, true )
                        for k,v in pairs( player.GetAll() ) do
                                DarkRP.notify(v, 1, 4, "The mayor has been killed!")
                        end
                end
        end,
})

TEAM_SECRET = DarkRP.createJob("Secret Service", {
	color = Color(200, 0, 0, 255),
	model = "models/player/smith.mdl",
	description = [[Protect the mayor at ALL costs!
	Rules:
	1. You cannot enforce the laws and help police with raiding.
	2. You need to protect the mayor or you will be demoted from the job.
	3. You cannot base with criminals.]],
	weapons = {},
	command = "secret",
	max = 2,
	salary = 100,
	admin = 0,
	vote = true,
	hasLicense = false,
    PlayerDeath = function(ply)
                if ply:Team() == TEAM_MAYOR then
                        ply:changeTeam( TEAM_CITIZEN, true )
                        for k,v in pairs( player.GetAll() ) do
                                DarkRP.notify(v, 1, 4, "The mayor has been killed!")
                        end
                end
        end,
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_POLICE = DarkRP.createJob("Police Officer", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/nypd/cop_01.mdl", "models/player/nypd/cop_02.mdl", "models/player/nypd/cop_03.mdl", "models/player/nypd/cop_04.mdl", "models/player/nypd/cop_05.mdl", "models/player/nypd/cop_06.mdl", "models/player/nypd/cop_07.mdl", "models/player/nypd/cop_08.mdl", "models/player/nypd/cop_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.
		Rules:
		1. Job abuse will result in demotion/punishment.
		2. If you are seen being corrupt by a officer (taking bribes etc.), he has the right to demote you.
		3. You cannot take part in any crime related activty.
		4. You cannot base unless it is a RP home with NO illegal entities.
		5. You MUST have a valid warrant to raid someone.
		6. You can construct barriers outside of a base raid (cannot propblock) and has to be removed after the raid.]],
    weapons = {"m9k_m92beretta", "door_ram", "darkrp_handcuffs", "unarrest_stick", "stunstick", "weaponchecker", "taser"},
    command = "police",
    max = 8,
    salary = 75, 
    admin = 0,
    vote = true,
    hasLicense = true,
     
PlayerLoadout = function(ply) ply:SetArmor(50) ply:GiveAmmo(90,m9k_ammo_pistol) end,
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_POLICEM = DarkRP.createJob("Police Medic", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/nypd/cop_01.mdl", "models/player/nypd/cop_02.mdl", "models/player/nypd/cop_03.mdl", "models/player/nypd/cop_04.mdl", "models/player/nypd/cop_05.mdl", "models/player/nypd/cop_06.mdl", "models/player/nypd/cop_07.mdl", "models/player/nypd/cop_08.mdl", "models/player/nypd/cop_09.mdl"},
    description = [[The protector of every citizen that lives in the city.
		You have the power to arrest criminals, heal police 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.
		Rules:
		1. Job abuse will result in demotion/punishment.
		2. If you are seen being corrupt by a officer (taking bribes etc.), he has the right to demote you.
		3. You cannot take part in any crime related activty.
		4. You cannot base unless it is a RP home with NO illegal entities.
		5. You MUST have a valid warrant to raid someone.
		6. You can construct barriers outside of a base raid (cannot propblock) and has to be removed after the raid.]],
    weapons = {"m9k_m92beretta", "door_ram", "darkrp_handcuffs", "unarrest_stick", "stunstick", "weaponchecker", "med_kit", "taser"},
    command = "police",
    max = 1,
    salary = 75, 
    admin = 0,
    vote = true,
    hasLicense = true,
	NeedToChangeFrom = TEAM_POLICE,
	
     
PlayerLoadout = function(ply) ply:SetArmor(50) ply:GiveAmmo(90,m9k_ammo_pistol) end,
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com 
TEAM_CHIEF = DarkRP.createJob("Police Chief", {
    color = Color(0, 0, 255, 255),
    model = {"models/player/elispolice/police.mdl"},
    description = [[The Chief is the leader of the Police unit.
		Coordinate the police force to enforce law in the city.
		Hit a player with 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 his/her arrest.
		Type /wanted <name> to alert the public to the presence of a criminal.
	    Rules:
		1. Job abuse will result in demotion/punishment.
		2. If you are seen being corrupt by a officer (Taking bribes etc.), he has the right to demote you.
		3. You cannot take part in any crime related activty.
		4. You cannot base unless it is a RP home with NO illegal entities.
		5. You MUST have a valid warrant to raid someone.
		6. You can construct barriers outside of a base raid (cannot propblock) and has to be removed after the raid.]],
    weapons = {"weapon_real_cs_desert_eagle", "door_ram", "darkrp_handcuffs", "unarrest_stick", "stunstick", "weaponchecker", "taser"},
    command = "policechief",
    max = 1,
    salary = 75, 
    admin = 0,
    vote = false,
    hasLicense = true,
    NeedToChangeFrom = TEAM_POLICE,
     
PlayerLoadout = function(ply) ply:SetArmor(75) ply:GiveAmmo(50,m9k_ammo_357) end,
})

TEAM_GUN = DarkRP.createJob("Gun Dealer", {
	color = Color(255, 140, 0, 255),
	model = "models/player/monk.mdl",
	description = [[A Gun Dealer is the 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!
		Rules:
		1. Job abuse will result in demote/punishment.
		2. You cannot self supply.
		3. You cannot base with criminals nor commit criminal activity.]],
	weapons = {},
	command = "gundealer",
	max = 3,
	salary = 50,
	admin = 0,
	vote = false,
	hasLicense = false,})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_LOCK = DarkRP.createJob("Locksmith", {
    color = Color(50, 255, 0, 255),
    model = "models/player/hostage/hostage_02.mdl",
    description = [[Sell lockpicks and keypad crackers to the public.
	    Rules:
		1. Job abuse will result in demote/punishment.
		2. The mayor can create a law to not let your items be allowed in public,
		you won't get in trouble but the buyer will.
		3. You cannot self supply.]],
    weapons = {},
    command = "locksmith",
    max = 3,
    salary = 60, 
    admin = 0,
    vote = false,
    hasLicense = false,
  })

TEAM_MEDIC = DarkRP.createJob("Doctor", {
	color = Color(47, 79, 79, 255),
	model = "models/player/kleiner.mdl",
	description = [[With your medical knowledge you work to restore players to full health.
		Without a Doctor, people cannot be healed.
		Left click with the Medical Kit to heal other players.
		Right click with the Medical Kit to heal yourself.
		Rules:
		1. You cannot base with criminals.
		2. You are not a criminal.
		3. Not healing people or not having a shop will result in demotion.]],
	weapons = {"med_kit"},
	command = "medic",
	max = 3,
	salary = 50,
	admin = 0,
	vote = false,
	hasLicense = false,
	medic = true
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_BODYGUARD = DarkRP.createJob("Body Guard", {
    color = Color(255, 0, 0, 255),
    model = {"models/player/guard_pack/guard_01.mdl", "models/player/guard_pack/guard_02.mdl", "models/player/guard_pack/guard_03.mdl", "models/player/guard_pack/guard_04.mdl", "models/player/guard_pack/guard_05.mdl", "models/player/guard_pack/guard_06.mdl", "models/player/guard_pack/guard_07.mdl", "models/player/guard_pack/guard_08.mdl", "models/player/guard_pack/guard_09.mdl"},
    description = [[Get hired to protect/guard people and items.
	    Rules: 
		1. Do not stunstick abuse, warn them first then take action.
		2. You are not a criminal you just get paid for protecting people and there stuff.
		3. You cannot be a bodyguard for any criminal.]],
    weapons = {"stunstick", "weapon_fists"},
    command = "bodyguard",
    max = 4,
    salary = 50, 
    admin = 0,
    vote = false,
    hasLicense = false,
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_BANK = DarkRP.createJob("Banker", {
    color = Color(0, 100, 125, 255),
    model = {"models/player/mossman_arctic.mdl", "models/player/hostage/hostage_02.mdl"},
    description = [[Start a bank and store peoples items for money.
	    Rules:
		1. You are not a criminal.
		2. You cannot base with criminals.
		3. You can store illegal items, but if you get caught you will be the one responsible.
		4. Protect the bank.
		5. No NLR in the bank.]],
    weapons = {},
    command = "banker",
    max = 2,
    salary = 60, 
    admin = 0,
    vote = false,
    hasLicense = false,
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_BANKG = DarkRP.createJob("Bank Guard", {
    color = Color(0, 100, 125, 255),
    model = {"models/player/leet.mdl"},
    description = [[Guard the bank and make sure nothing gets stolen.
	    Rules:
		1. You are not a criminal.
		2. You cannot base with criminals.
		3. Protect the bank and the banker(s).
		4. Not protecting the bank will result in demotion.
		5. No NLR in the bank.]],
    weapons = {"swb_mp5", "stunstick"},
    command = "bankguard",
    max = 2,
    salary = 70, 
    admin = 0,
    vote = false,
    hasLicense = false,
})


-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_VIP = DarkRP.createJob("Supporter Jobs Below", {
    color = Color(0, 0, 0, 255),
    model = "models/props/cs_assault/money.mdl"
    description = [[Donate and buy supporter today!]],
    weapons = {},
    command = "vip",
    max = 0,
    salary = 0, 
    admin = 0,
    vote = false,
    hasLicense = false,
  
 -- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
customCheck = function(ply) return CLIENT or
    table.HasValue({"owner"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Donate and buy supporter today!", 
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_AGENT = DarkRP.createJob("Double Agent", {
    color = Color(0, 100, 255, 255),
    model = {"models/player/barney.mdl", "models/player/alyx.mdl"}
    description = [[You can work for the police or become a criminal.
	    Rules:
		1. If the mayor allows you to work for him you can.
		2. Or you can become a freelancer and become any job you wish.
		RAID = YES. MUG = YES.]],
    weapons = {"weapon_real_cs_m4a1", "lockpick", "unarrest_stick", "ekc"},
    command = "doubleagent",
    max = 8,
    salary = 75,
    admin = 0,
    vote = false,
    hasLicense = false,
	candemote = false,
    
    -- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
customCheck = function(ply) return CLIENT or
    table.HasValue({"superadmin", "admin", "supporter", "owner", "rootadmin", "headadmin", "moderatorsupporter"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "This is a supporter only job!",
PlayerLoadout = function(ply) ply:SetArmor(50) ply:GiveAmmo(90,m9k_ammo_smg) end,
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_MERC = DarkRP.createJob("Mercenary", {
    color = Color(255, 75, 75, 255),
    model = {"models/player/guerilla.mdl"},
    description = [[Get hired and get told what to do (Not a ticket to break rules).
	    Rules:
		1. You cannot solo base or solo raid.
		2. Listen to your boss, if he wants you to raid with him, raid with him or protect his base.
        3. A criminal version of bodyguard.
		RAID = YES. MUG = NO.]],
    weapons = {"weapon_real_css_galil", "stunstick"},
    command = "mercenary",
    max = 4,
    salary = 80,
    admin = 0,
    vote = false,
    hasLicense = false,
	candemote = false,
     
    -- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
customCheck = function(ply) return CLIENT or
    table.HasValue({"superadmin", "admin", "supporter", "owner", "rootadmin", "headadmin", "moderatorsupporter"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "This is a supporter only job!",
PlayerLoadout = function(ply) ply:SetArmor(50) ply:GiveAmmo(90,m9k_ammo_smg) end,
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_MASTER = DarkRP.createJob("Master Thief", {
    color = Color(100, 0, 255, 255),
    model = {"models/player/arctic.mdl"},
    description = [[Use your master thieving skills to break into peoples places. 
	    Rules:
		1. Do not kill unarmed players during a raid unless they threaten you.
		2. You can solo raid.
		RAID = YES. MUG = NO.]],
    weapons = {"weapon_real_cs_tmp", "masterlockpick", "ekc_pro"},
    command = "masterthief",
    max = 2,
    salary = 60,
    admin = 0,
    vote = false,
    hasLicense = false,
	candemote = false,
     
    -- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
customCheck = function(ply) return CLIENT or
    table.HasValue({"superadmin", "admin", "supporter", "owner", "rootadmin", "headadmin", "moderatorsupporter"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "This is a supporter only job!",
PlayerLoadout = function(ply) ply:SetArmor(25) ply:GiveAmmo(90,m9k_ammo_smg) end,
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_MAFIAL = DarkRP.createJob("Mafia Leader", {
    color = Color(0, 0, 0, 255),
    model = {"models/humans/mafia/male_08.mdl"},
    description = [[Lead the Mafia and conduct crimes.
	    Rules:
		1. Tell the mafia what do do.
		2. You MUST base with the Mafia.
		3. You MUST raid with atleast one mafia member, no solo raiding.
		4. Do not kill unarmed players during a raid unless they threaten you.
		5. Max mug is $500 do "/y MUG <amount>" if you would like to mug.
	    You can only mug the same person every 15 minutes.
		RAID = YES. MUG = YES.]],
    weapons = {"weapon_real_cs_pumpshotgun", "ekc", "lockpick"},
    command = "mafialeader",
    max = 1,
    salary = 60,
    admin = 0,
    vote = false,  
    hasLicense = false,
	candemote = false,
     
    -- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
customCheck = function(ply) return CLIENT or
    table.HasValue({"superadmin", "admin", "supporter", "owner", "rootadmin", "headadmin", "moderatorsupporter"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "This is a supporter only job!",
PlayerLoadout = function(ply) ply:SetArmor(50) ply:GiveAmmo(20,m9k_ammo_buckshot) end, 
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_BMD = DarkRP.createJob("Black Market Dealer", {
    color = Color(100, 50, 0, 255),
    model = "models/player/eli.mdl",
    description = [[Sell illegal contraband to the public without getting caught.
	    Rules:
		1. Job abuse will result in demote/punishment.
		2. The mayor can create a law to not let your items be allowed in public,
		you won't get in trouble but the buyer will.
		3. You cannot self supply.]],
    weapons = {},
    command = "bmd",
    max = 3,
    salary = 60, 
    admin = 0,
    vote = false,
    hasLicense = false,
	candemote = false,
	
	-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
customCheck = function(ply) return CLIENT or
    table.HasValue({"superadmin", "admin", "supporter", "owner", "rootadmin", "headadmin", "moderatorsupporter"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "This is a supporter only job!",
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_SWAT = DarkRP.createJob("SWAT", {
    color = Color(0, 100, 255, 255),
    model = {"models/player/swat.mdl"},
    description = [[Protect the people of the city from crime.
	    Rules:
		1. Job abuse will result in demotion/punishment.
		2. If you are seen being corrupt by a officer (Taking bribes etc.), he has the right to demote you.
		3. You cannot take part in any crime related activty.
		4. You MUST have a valid warrant to raid someone.
		5. You can construct barriers outside of a base raid (cannot propblock) and has to be removed after the raid.]],
    weapons = {"m9k_mp7", "door_ram", "darkrp_handcuffs", "unarrest_stick", "stunstick", "weaponchecker", "m9k_deagle", "taser"},
    command = "swat",
    max = 8,
    salary = 100,
    admin = 0,
    vote = false,
    hasLicense = true,
	candemote = false,
     
    -- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
customCheck = function(ply) return CLIENT or
    table.HasValue({"superadmin", "admin", "supporter", "owner", "rootadmin", "headadmin", "moderatorsupporter"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "This is a supporter only job!",
PlayerLoadout = function(ply) ply:SetArmor(100) ply:GiveAmmo(120,m9k_ammo_smg) end,
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_SWATM = DarkRP.createJob("SWAT Medic", {
    color = Color(0, 100, 255, 255),
    model = {"models/player/swat.mdl"},
    description = [[Heal the SWAT and Protect the people of the city from crime.
	    Rules:
		1. Job abuse will result in demotion/punishment.
		2. If you are seen being corrupt by a officer (Taking bribes etc.), he has the right to demote you.
		3. You cannot take part in any crime related activty.
		4. You MUST have a valid warrant to raid someone.
		5. You can construct barriers outside of a base raid (cannot propblock) and has to be removed after the raid.]],
    weapons = {"m9k_mp7", "door_ram", "darkrp_handcuffs", "unarrest_stick", "stunstick", "weaponchecker", "med_kit", "weapon_real_cs_desert_eagle", "taser"},
    command = "swatmedic",
    max = 1,
    salary = 100,
    admin = 0,
    vote = false,
    hasLicense = true,
    NeedToChangeFrom = TEAM_SWAT,
	candemote = false,
     
    -- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
customCheck = function(ply) return
    table.HasValue({"superadmin", "admin", "supporter", "owner", "rootadmin", "headadmin", "moderatorsupporter"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "This is a supporter only job!",
PlayerLoadout = function(ply) ply:SetArmor(100) ply:GiveAmmo(120,m9k_ammo_smg) end,
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_SWATR = DarkRP.createJob("SWAT Recon", {
    color = Color(0, 100, 255, 255),
    model = {"models/player/swat.mdl"},
    description = [[Protect the people of the city from crime, using your recon abilities.
	    Rules:
		1. Job abuse will result in demotion/punishment.
		2. If you are seen being corrupt by a officer (Taking bribes etc.), he has the right to demote you.
		3. You cannot take part in any crime related activty.
		4. You MUST have a valid warrant to raid someone.
		5. You can construct barriers outside of a base raid (cannot propblock) and has to be removed after the raid.]],
    weapons = {"m9k_aw50", "door_ram", "darkrp_handcuffs", "unarrest_stick", "stunstick", "weaponchecker", "weapon_real_cs_desert_eagle", "taser"},
    command = "swatchief",
    max = 1,
    salary = 100,
    admin = 0,
    vote = false,
    hasLicense = true,
    NeedToChangeFrom = TEAM_SWAT,
	candemote = false,
     
    -- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
customCheck = function(ply) return
    table.HasValue({"superadmin", "admin", "supporter", "owner", "rootadmin", "headadmin", "moderatorsupporter"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "This is a supporter only job!",
PlayerLoadout = function(ply) ply:SetArmor(100) ply:GiveAmmo(120,m9k_ammo_smg) end,
})

-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_SWATC = DarkRP.createJob("SWAT Chief", {
    color = Color(0, 100, 255, 255),
    model = {"models/player/swat.mdl"},
    description = [[Order the SWAT and Protect the people of the city from crime.
	    Rules:
		1. Job abuse will result in demotion/punishment.
		2. If you are seen being corrupt by a officer (Taking bribes etc.), he has the right to demote you.
		3. You cannot take part in any crime related activty.
		4. You MUST have a valid warrant to raid someone.
		5. You can construct barriers outside of a base raid (cannot propblock) and has to be removed after the raid.]],
    weapons = {"m9k_mp7", "door_ram", "darkrp_handcuffs", "unarrest_stick", "stunstick", "weaponchecker", "weapon_real_cs_desert_eagle"},
    command = "swatchief",
    max = 1,
    salary = 100,
    admin = 0,
    vote = false,
    hasLicense = true,
    NeedToChangeFrom = TEAM_SWAT,
	candemote = false,
     
    -- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
customCheck = function(ply) return
    table.HasValue({"superadmin", "admin", "supporter", "owner", "rootadmin", "headadmin", "moderatorsupporter"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "This is a supporter only job!",
PlayerLoadout = function(ply) ply:SetArmor(100) ply:GiveAmmo(120,m9k_ammo_smg) end,
})


-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
TEAM_HITMAN = DarkRP.createJob("Hitman", {
    color = Color(150, 0, 30, 255),
    model = {"models/player/phoenix.mdl"},
    description = [[Receive hits to kill people. Do not make your job obvious.]],
    weapons = {"m9k_aw50", "weapon_real_cs_knife"},
    command = "hitman",
    max = 1,
    salary = 60, 
    admin = 0,
    vote = false,
    hasLicense = false,
	candemote = false,
  
-- Code generated with help from: TCB's DarkRP 2.5 Tools | www.thecodingbeast.com
customCheck = function(ply) return CLIENT or
    table.HasValue({"superadmin", "admin", "supporter", "owner", "rootadmin", "headadmin", "moderatorsupporter"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "This is a supporter only job!",
PlayerLoadout = function(ply) ply:GiveAmmo(20,m9k_ammo_sniper_rounds) end, 
})

[editline]28th October 2014[/editline]

I HAVE POSTED MY JOBS LUA THANK U READ PLEASE IF YOUA RE GOING TO ASK ME TO POST IT I NEED A FIX BAD