Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEAM_SCHIEF = DarkRP.createJob("SWAT Chief", { -- Name
- color = Color(0, 0, 255, 255), -- Team color
- model = "models/player/urban.mdl", -- Player model
- description = [[The SWAT is the protector of the city, and it is your duty to keep the peace of all!]], -- Job description
- weapons = {"fas2_m4a1","fas2_deagle"}, -- Additional weapons
- command = "schief", -- Command to become the job
- max = 1, -- Maximum amount of said job
- salary = 150, -- Salary
- vote = false, -- Do they need to vote? true for yes, false for no.
- hasLicense = true, -- Has a license
- candemote = false,
- chief = true
- })
- TEAM_SWAT = DarkRP.createJob("SWAT", { -- Name
- color = Color(0, 0, 255, 255), -- Team Color
- model = "models/player/riot.mdl", -- Player Model
- description = [[The SWAT is the protector of the city, and it is your duty to keep the peace of all!]], -- Job Description
- weapons = {"fas2_m4a1", "fas2_deagle"}, -- Additional Weapons
- command = "swat",
- max = 5,
- salary = 100,
- vote = false,
- hasLicense = true,
- candemote = false
- })
- TEAM_SWATSNIPER = DarkRP.createJob("SWAT Sniper", { -- Name
- color = Color(0, 0, 255, 255), -- Team Color
- model = "models/player/riot.mdl", -- Player Model
- description = [[The SWAT is the protector of the city, and it is your duty to keep the peace of all!]], -- Job Description
- weapons = {"fas2_m82", "fas2_p226"}, -- Additional Weapons
- command = "swatsniper",
- max = 5,
- salary = 100,
- vote = false,
- hasLicense = true,
- candemote = false
- })
- TEAM_HIT = DarkRP.createJob("Hitman", {
- color = Color(0, 0, 255, 0),
- model = "models/player/guerilla.mdl",
- description = [[As a hitman, you are the most elite of assassins. You work below the radar and take money for killing people.]],
- weapons = {"fas2_p226", "fas2_dv2"},
- command = "hitman",
- max = 3,
- salary = 50,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_FRUNNER = DarkRP.createJob("FreeRunner", {
- color = Color(60, 135, 185, 255),
- model = "models/player/p2_chell.mdl",
- description = [[As a Free Runner you run rampant through the streets jumping over every possible thing climbing all buildings!]],
- weapons = {"fas2_dv2"},
- command = "freerunner",
- max = 3,
- salary = 75,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserString("") == "vip" or ply:IsAdmin() end, -- The extra check function. Enter nil or nothing to not have an extra check
- CustomCheckFailMsg = "You must be donator to use this job!",
- candemote = false
- })
- TEAM_HOBO = DarkRP.createJob("Hobo", {
- color = Color(175, 120, 0 ,255),
- model = "models/player/corpse1.mdl",
- description = [[Your a dirty man whos been cast aside by society and are forced to live on the streets.]],
- weapons = {"weapon_bugbait"},
- command = "hobo",
- max = 5,
- salary = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- hobo = true
- })
- TEAM_SDWELL = DarkRP.createJob("Sewer Dweller", {
- color = Color(175, 120, 0, 255),
- model = "models.player/charple.mdl",
- description = [[Your a disgusting man who was in a horrific accident that left you singed all over and were forced into the sewers by society.]],
- weapons = {"weapon_crowbar", "weapon_bugbait"},
- command = "sewerdweller",
- max = 5,
- salary = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- hobo = true
- })
- TEAM_POLICE = DarkRP.createJob("Police Officer", {
- color = Color(0, 0, 255, 255),
- model = "models/player/police.mdl",
- description = [[Your part of the Police squad who patrol the streets of downtown looking for law breakers.]],
- weapons = {"fas2_mp5sd6", "fas2_0ts33pernach"},
- command = "police",
- max = 3,
- salary = 75,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_PCHIEF = DarkRP.createJob("Police Chief", {
- color = Color(0, 0, 255, 255),
- model = "models/player/combine_soldier_prisonguard.mdl",
- description = [[Your part of the Police squad who patrol the streets of downtown looking for law breakers.]],
- weapons = {"fas2_toz34", "fas2_ots33pernach"},
- command = "policechief",
- max = 1,
- salary = 150,
- vote = false,
- hasLicense = false,
- candemote = false,
- chief = true
- })
- TEAM_MHIT = DarkRP.createJob("Master Hitman", {
- color = Color(0, 0, 255, 0),
- model = "models/player/leet.mdl",
- description = [[As a Master hitman, you are the most elite of assassins. You work below the radar and take money for killing people.]],
- weapons = {"fas2_m14","fas2_glock20"},
- command = "masterhitman",
- max = 3, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
- salary = 75,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:IsAdmin() end,
- CustomCheckFailMsg = "You must be a donator to use this job!", -- alternative: CustomCheckFailMsg = function(ply, jobTable) return ply:getDarkRPVar("money") < 5000 and "You're piss poor" or "You don't have enough money!" end,,
- candemote = false
- })
- TEAM_TERRORIST = DarkRP.createJob("Terrorist", {
- color = Color(0, 0, 0, 255),
- model = "models/player/kuma/taliban_rpg.mdl",
- description = [[Your a man of terror who targets the government in violent attacks to try and get himself heard.]],
- weapons = {"fas2_ak47", "fas2_deagle", "fas2_machete"},
- command = "terrorist",
- max = 3,
- salary = 25,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserString("") == "vip" or ply:IsAdmin() end, -- The extra check function. Enter nil or nothing to not have an extra check
- CustomCheckFailMsg = "You must be donator to use this job!",
- candemote = false
- })
- TEAM_GUNDEALER = DarkRP.createJob("Gun Dealer", {
- color = Color(255, 200, 0, 255),
- model = "models/player/monk.mdl",
- description = [[You sell illegal guns to the law breakers of downtown.]],
- weapons = {},
- command = "gundealer",
- max = 3,
- salary = 50,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_BMD = DarkRP.createJob("Black Market Dealer", {
- color = Color(255, 200, 0, 255),
- model = "models/player/eli.mdl",
- description = [[Your the guy that all the big boys come to for the big guns that they'll pay big bucks for.]],
- weapons = {},
- command = "blackmarketdealer",
- max = 3,
- salary = 100,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_DRUG = DarkRP.createJob("Drug Dealer", {
- color = Color(150, 0, 255, 255),
- model = "models/player/odessa.mdl",
- description = [[Your the guy that feeds the drug addicts of downtown that will wonder round in the shadows looking for customers.]],
- weapons = {},
- command = "drugdealer",
- max = 2,
- salary = 75,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_SECURITY = DarkRP.createJob("Security Guard", {
- color = Color(0, 165, 205, 255),
- model = "models/player/guard_pack/guard_02.mdl",
- description = [[You were fired from your old job as security guard and now you look for new employers to hire you for your services.]],
- weapons = {"fas2_p226"},
- command = "securityguard",
- max = 4,
- salary = 100,
- vote = false,
- hasLicense = true,
- candemote = false
- })
- TEAM_MAYOR = DarkRP.createJob("Mayor", {
- color = Color(185, 0, 0, 255),
- model = "models/player/breen.mdl",
- description = [[Your in charge of everything you decide on the laws and you control where SWAT can raid.]],
- weapons = ("fas2_glock20"),
- command = "mayor",
- max = 1,
- salary = 500,
- vote = true,
- hasLicense = true,
- candemote = true,
- mayor = true,
- })
- TEAM_THIEF = DarkRP.createJob("Thief", {
- color = Color(155, 155, 155, 255),
- model = "models/player/arctic.mdl",
- description = [[Your the evil of downtown who steals whatever they can trying to be as quiet as possible whilst doing so.]],
- weapons = {},
- command = "thief",
- max = 5,
- salary = 75,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_MTHIEF = DarkRP.createJob("Master Thief", {
- color = Color(155, 155, 155, 255),
- model = "models/player/phoenix.mdl",
- description = [[Your the evil of downtown who steals whatever they can trying to be as quiet as possible whilst doing so but with the professional equipment.]],
- weapons = {"fas2_0ts33pernach"},
- command = "masterthief",
- max = 3,
- salary = 125,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserString("") == "nil" or ply:IsAdmin() end, -- The extra check function. Enter nil or nothing to not have an extra check
- CustomCheckFailMsg = "You must be donator to use this job!",
- candemote = false
- })
- TEAM_MOB = DarkRP.createJob("Mob Boss", {
- color = Color(80, 80, 80, 255),
- models = "models/player/gman_high.mdl",
- description = [[You are in charge of the obedient gangsters that choose to listen to you.]],
- weapons = {"fas2_m1911"},
- command = "mobboss",
- max = 2,
- salary = 100,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_GANG = DarkRP.createJob("Gangster", {
- color = Color(80, 80, 80, 255),
- models = "models/player/Group_03/male_02.mdl",
- description = [[You work for the mob bosses of downtown but you choose who to actually listen to.]],
- weapons = {"fas2_m1911"},
- command = "gangster",
- max = 5,
- salary = 75,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_DJ = DarkRP.createJob("Radio DJ", {
- color = Color(50, 125, 255, 255),
- models = "models/player/kleiner.mdl",
- description = [[You play music in your portable booth around the streets of downtown.]],
- weapons = {},
- command = "dj",
- max = 3,
- salary = 75,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_MEDIC = DarkRP.createJob("Medic", {
- color = Color(255, 215, 50, 255),
- models = "models/player/Group03m/female_02.mdl",
- description = [[You go round helping the injured or even reviving the dead!]],
- weapons = ("fas2_infantryfirstaidkit"),
- command = "medic",
- max = 2,
- salary = 100,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- GAMEMODE.DefaultTeam = {
- [TEAM_CITIZEN] = true
- }
- --[[---------------------------------------------------------------------------
- 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_SCHIEF] = true,
- [TEAM_MAYOR] = true,
- [TEAM_SWAT] = true,
- [TEAM_SWATSNIPER] = true,
- [TEAM_PCHIEF] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]],
- DarkRP.addHitmanTeam(TEAM_HIT)
- DarkRP.addHitmanTeam(TEAM_MHIT)
Advertisement
Add Comment
Please, Sign In to add comment