DarkRP Jobs

Anything obviously wrong with this?



TEAM_MEDIC = DarkRP.createJob("Medic", {
	color = Color(47, 79, 79, 255),
    model = {
		"models/player/group03m/female_01.mdl",
		"models/player/group03m/male_01.mdl"},
	
	description = [[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.]],
	weapons = {"fas2_ifak", "weapon_medkit"},
	command = "medic",
	max = 3,
	salary = 100,
	admin = 0,
	vote = false,
	hasLicense = false,
	medic = true
})

TEAM_DETECTIVE = DarkRP.createJob("Detective", {
	color = Color(20, 20, 255, 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"},
	
	description = [[You are a detective, nothing real special about you, assist police
	investigations, and SWAT raids.
	]],
	weapons = {"arrest_stick", "unarrest_stick", "fas2_ots33", "stunstick", "door_ram", "weaponchecker"},
	command = "dt",
	max = 6,
	salary = 170,
	admin = 0,
	vote = true,
	hasLicense = true,
	ammo = {
		["pistol"] = 60,
	}
})

TEAM_DRUGDEALER = DarkRP.createJob("Drug Dealer", {
    color = Color(51, 204, 255, 255),
    model = "models/player/Kleiner.mdl",
    description = [[You are a "doctor" selling "legal" drugs.]],
    weapons = {},
    command = "drug",
    max = 2,
    salary = 65,
    admin = 0,
    vote = false,
    hasLicense = false
})

TEAM_GUARD = DarkRP.createJob("Security Guard", {
    color = Color(0,200,50,255),
    model = "models\player\guard_pack\guard_01.mdl",
    description = [[People will pay for protection, use your weapon or buy one from the local gundealer.]],
    weapons = {"fas2_glock20"},
    command = "sguard",
    max = 5,
    salary = 85,
    admin = 0,
    vote = false,
    hasLicense = true
})

TEAM_SWAT = DarkRP.createJob("S.W.A.T", {
    color = Color(25, 25, 170, 255),
    model = {"models/player/group03m/female_01.mdl",
        "models\player\csgo01.mdl",
        "models\player\csgo02.mdl",
        "models\player\csgo03.mdl",
        "models\player\csgo04.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", "fas2_m4a1", "stunstick", "door_ram", "weaponchecker"},
    command = "Swat",
    max = 4,
    salary = 85,
    admin = 0,
    vote = true,
    hasLicense = true,
    help = {
        "Please don't abuse your job",
        "When you arrest someone they are auto transported to jail.",
        "They are auto let out of jail after some time",
        "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
        "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
        "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
        "Type /jailpos to set the jail position"
    }
})

TEAM_HIT = DarkRP.createJob("Hitman", {
    color = Color(0, 0, 0, 255),
    model = "models\player\agent_47.mdl",
    description = [[People hire you to take out other people,
    this job require you to be completely focussed.
    A single breath can make you loose a shot.]],
    weapons = {"fas2_dv2"},
    command = "hitman",
    max = 3,
    salary = 65,
    admin = 0,
    vote = false,
    hasLicense = false
})

TEAM_THIEF = DarkRP.createJob("Thief", {
    color = Color(0, 0, 0, 255),
    model = "models/player/robber.mdl",
    description = [[You are a thief, rob people, lockpick their house and steal their plants.]],
    weapons = {"lockpick"}, -- You may wanna find a pickpocket swep and add it here.
    command = "thief",
    max = 10,
    salary = 65,
    admin = 0,
    vote = false,
    hasLicense = false
})

TEAM_SS = DarkRP.createJob("Secret Service", {
    color = Color(100, 20, 20, 255),
    model = "models/player/macdguy.mdl",
    description = [[You are responsible for protecting the mayor.]],
    weapons = {"fas2_glock20", "stunstick", "weaponchecker"},
    command = "ss",
    max = 2,
    salary = 65,
    admin = 0,
    vote = true,
    hasLicense = true,
        ammo = {
        ["pistol"] = 60,
    }
})

TEAM_DB = DarkRP.createJob("Dudorso Boss", {
    color = Color(85, 20, 2, 109),
    model = "models/player/macdguy.mdl",
    description = [[The last member of the Dudorso family, trying to start a new foot
	in evo city, a new foot that murders and steals.]],
    weapons = {"fas2_glock20"},
    command = "DB",
    max = 1,
    salary = 65,
    admin = 0,
    vote = false,
    hasLicense = false,
        ammo = {
        ["pistol"] = 60,
    }
})

TEAM_DM = DarkRP.createJob("Dudorso Mobster", {
    color = Color(100, 20, 20, 255),
    model = "models/player/macdguy.mdl",
    description = [[You work for the Boss, not following his orders could resort in
	you being demoted, or even killed.]],
    weapons = {},
    command = "DM",
    max = 10,
    salary = 65,
    admin = 0,
    vote = false,
    hasLicense = false,
        ammo = {
        ["pistol"] = 60,
    }
})


// Feel free to use any of these jobs once they are fixed :smiley:

just give us the error, much more simpler.