Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[---------------------------------------------------------------------------
- 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_SWAT = DarkRP.createJob("S.W.A.T Commander", {
- color = Color(30, 45, 105, 255),
- model = "models/player/riot.mdl",
- description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are The commander of the S.W.A.T team]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_glock", "m9k_aw50", "weapon_mp52", "stunstick", "door_ram", "weaponchecker", "nova_speedgun"},
- command = "swatcommander",
- max = 1,
- salary = 125,
- admin = 0,
- vote = true,
- hasLicense = true,
- })
- TEAM_SWAT = DarkRP.createJob("S.W.A.T Medic", {
- color = Color(30, 45, 105, 255),
- model = "models/player/riot.mdl",
- description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are the medic in the group, you should provide medical help to your team]],
- weapons = {"arrest_stick", "m9k_acr", "stunstick", "door_ram", "weaponchecker", "med_kit", "nova_speedgun"},
- command = "swatmedicr",
- max = 1,
- salary = 125,
- admin = 0,
- vote = true,
- hasLicense = true,
- })
- TEAM_SWAT = DarkRP.createJob("S.W.A.T Leader", {
- color = Color(30, 45, 105, 255),
- model = "models/player/swat.mdl",
- description = [[ Do everything you can to keep the city safe. If theres no mayor, you're in charge.]],
- weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "m9k_ak47", "nova_speedgun"},
- command = "swatl",
- max = 1,
- salary = 210,
- admin = 0,
- vote = true,
- hasLicense = true,
- })
- TEAM_SWAT = DarkRP.createJob("S.W.A.T Sniper", {
- color = Color(30, 45, 105, 255),
- model = "models/player/riot.mdl",
- description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are a Sniper Specialist]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_glock", "m9k_aw50", "m9k_f2000", "stunstick", "door_ram", "weaponchecker", "nova_speedgun"},
- command = "swatsniper",
- max = 1,
- salary = 125,
- admin = 0,
- vote = true,
- hasLicense = true,
- })
- TEAM_SWAT = DarkRP.createJob("S.W.A.T", {
- color = Color(80, 45, 0, 255),
- model = "models/player/swat.mdl",
- description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city.]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_glock", "m9k_f2000", "stunstick", "door_ram", "weaponchecker", "nova_speedgun"},
- command = "swat",
- max = 2,
- salary = 120,
- admin = 0,
- vote = true,
- hasLicense = true,
- })
- TEAM_HITMAN = DarkRP.createJob("Hitman", {
- color = Color(0, 0, 0, 255),
- model = "models/player/phoenix.mdl",
- description = [[People hire you to send people to a looong vacation.]],
- weapons = {"m9k_m98b", "m9k_usp"},
- command = "hitman",
- max = 1,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_MS = DarkRP.createJob("Mayors Son", {
- color = Color(255,100,100,255),
- model = "models/player/barney.mdl",
- description = [[You are the mayors son, Walk around and relax with your father, but be
- careful. People might kidnap you for exchange of cash!]],
- weapons = {},
- command = "mayorsson",
- max = 1,
- salary = 90,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_MD = DarkRP.createJob("Mayors Daughter", {
- color = Color(255,100,100,255),
- model = "models/player/alyx.mdl",
- description = [[You are the mayors daughter, Walk around and relax with your father, but be
- careful. People might kidnap you for exchange of cash!]],
- weapons = {},
- command = "mayorsdaughter",
- max = 1,
- salary = 90,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_MBODYGUARD = DarkRP.createJob("Mayors BodyGuard", {
- color = Color(0,200,50,255),
- model = "models/player/barney.mdl",
- description = [[You are the Mayors private Bodyguard. Your job is to cover him
- with your life.]],
- weapons = {"m9k_hk45"},
- command = "mayorsbodyguard",
- max = 2,
- salary = 85,
- admin = 0,
- vote = false,
- hasLicense = true,
- })
- TEAM_THIEF = DarkRP.createJob("Thief", {
- color = Color(0, 0, 0, 255),
- model = "models/player/arctic.mdl",
- description = [[You are a thief, rob people, break into houses and steal printers]],
- weapons = {"lockpick", "m9k_deagle", "keypad_cracker"},
- command = "thief",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_THIEFL = DarkRP.createJob("Thief Leader", {
- color = Color(0, 0, 0, 255),
- model = "models/player/arctic.mdl",
- description = [[You are a thief leader, rob people, break into houses and steal printers.
- You lead the other Thiefs]],
- weapons = {"pro_lockpick_update", "m9k_deagle", "keypad_cracker"},
- command = "thiefleader",
- max = 1,
- salary = 75,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_THIEFS = DarkRP.createJob("Thief Specialist", {
- color = Color(0, 0, 0, 255),
- model = "models/player/arctic.mdl",
- description = [[You are a Specialist among the thiefs, rob people, break into houses and steal printers.
- Show the other thiefs how it's done!]],
- weapons = {"pro_lockpick_update", "keypad_cracker"},
- command = "thiefspecialist",
- max = 1,
- salary = 105,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TERRORIST = DarkRP.createJob("Terrorist", {
- color = Color(80, 45, 0, 255),
- model = "models/player/guerilla.mdl",
- description = [[You attack the streets, and the Police Force.]],
- weapons = {"lockpick", "m9k_ak47", "m9k_suicide_bomb"},
- command = "terrorist",
- max = 2,
- salary = 105,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_WESTL = DarkRP.createJob("West Side Leader", {
- color = Color(20, 74, 214, 255),
- model = "models/player/Group03/male_08.mdl",
- description = [[You are the leader of the West side Gang you Do not like the East Side and you constantly Raid them and do anything to show people you are better than the East Side.]],
- weapons = {"m9k_deagle"},
- command = "westsidel",
- max = 1,
- salary = 400,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_EASTL = DarkRP.createJob("East Side Leader", {
- color = Color(0, 255, 0),
- model = "models/player/Group03/male_03.mdl",
- description = [[You are the leader of the East side Gang you do not like the West Side and you constantly Raid them and do anything to show people you are better than the West Side.]],
- weapons = {"lockpick", "keypad_cracker"},
- command = "eastsidel",
- max = 1,
- salary = 100,
- admin = 0,
- vote = false,
- canPickpocket = true,
- hasLicense = false,
- })
- TEAM_EASTG = DarkRP.createJob("East Side Gangster", {
- color = Color(0, 255, 0),
- model = "models/player/Group03m/male_03.mdl",
- description = [[You are A East Side Gangster and you do what the leader tells you to do and you stay with him.]],
- weapons = {"lockpick"},
- command = "eastg",
- max = 4,
- salary = 350,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_STAFF = DarkRP.createJob("Staff On Duty", {
- color = Color(170, 0, 0, 255),
- model = "models/player/combine_soldier.mdl",
- description = [[Being an admin requires a great responsibility, when you become this job you have to take
- your job as an admin serious, and help the ones who is in need of an admin.]],
- weapons = {},
- command = "adminonduty",
- max = 0,
- salary = 100,
- admin = 1,
- vote = false,
- hasLicense = false,
- })
- TEATEAM_OWNER = DarkRP.createJob("Owner On Duty", {
- color = Color(170, 0, 0, 255),
- model = "models/freeman/player/left_shark.mdl",
- description = [[Being a Head super admin requires a great responsibility, when you become this job you have to take
- your job as an admin serious, and help the ones who is in need of a superadmin. And teach the other superadmins common sense.]],
- weapons = {"arrest_stick", "unarrest_stick"},
- command = "DEV",
- max = 0,
- salary = 200,
- admin = 2,
- vote = false,
- hasLicense = false,
- })
- TEAM_MECHANIC = DarkRP.createJob("Mechanic", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/barney.mdl"},
- description = [[Mechanic Charge People or car upgrades]],
- weapons = {"nova_mechanic"},
- command = "mechanic",
- max = 2,
- salary = 1000,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Citizens",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(100)
- end
- })
- --[[---------------------------------------------------------------------------
- Define which team joining players spawn into and what team you change to if demoted
- ---------------------------------------------------------------------------]]
- GAMEMODE.DefaultTeam = TEAM_CITIZEN
- --[[---------------------------------------------------------------------------
- Define which teams belong to civil protection
- Civil protection can set warrants, make people wanted and do some other police related things
- ---------------------------------------------------------------------------]]
- GAMEMODE.CivilProtection = {
- [TEAM_POLICE] = true,
- [TEAM_CHIEF] = true,
- [TEAM_MAYOR] = true,
- [TEAM_SWAT] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement