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 your custom jobs under the following line:
- ---------------------------------------------------------------------------]]
- TEAM_MILCOMM = DarkRP.createJob("Military Commander", {
- color = Color(1, 73, 8, 255),
- model = {"models/player/combine_soldier.mdl"},
- description = [[You are a military commander (TBD)]],
- weapons = {"m9k_ak47"},
- command = "commander",
- max = 1,
- salary = 250,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- chief = true,
- category = "Military"
- })
- TEAM_MILSARG = DarkRP.createJob("Military Sergeant", {
- color = Color(11, 127, 35, 255),
- model = {"models/player/combine_soldier.mdl"},
- description = [[You are a military Sergeant (TBD)]],
- weapons = {"m9k_ak74"},
- command = "sergeant",
- max = 2,
- salary = 200,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- chief = false,
- category = "Military"
- })
- TEAM_MILSARG = DarkRP.createJob("Military Colonel", {
- color = Color(11, 127, 35, 255),
- model = {"models/player/combine_soldier.mdl"},
- description = [[You are a military Colonel (TBD)]],
- weapons = {"m9k_usp"},
- command = "colonel",
- max = 2,
- salary = 200,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- chief = false,
- category = "Military"
- })
- TEAM_THIEF = DarkRP.createJob("Thief", {
- color = Color(0, 0, 0, 255),
- model = "models/player/phoenix.mdl",
- description = [[You are a thief, rob people, lockpick their house and steal their plants and illegal printers.]],
- weapons = {"lockpick"}, -- You may wanna find a pickpocket swep and add it here.
- command = "thief",
- max = 6,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Criminals",
- })
- TEAM_LIGHTDEALER = DarkRP.createJob("Light Gun Dealer", {
- color = Color(11, 127, 35, 255),
- model = {"models/player/arctic.mdl"},
- description = [[You are a Light Gun Dealer, Sell low powered weaponry to people. ]],
- weapons = {"m9k_usp","Inventory"},
- command = "lightgundealer",
- max = 2,
- salary = 25,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- chief = false,
- category = "Dealers"
- })
- TEAM_HEAVYDEALER = DarkRP.createJob("Heavy Gun Dealer", {
- color = Color(11, 127, 35, 255),
- model = {"models/player/arctic.mdl"},
- description = [[You are a Heavy Gun Dealer, Sell high powered weaponry to people. (TBD)]],
- weapons = {"m9k_usp"},
- command = "heavygundealer",
- max = 2,
- salary = 25,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- chief = false,
- category = "Dealers"
- })
- TEAM_BLACKMARKETDEALER = DarkRP.createJob("Black Market Dealer", {
- color = Color(11, 127, 35, 255),
- model = {"models/player/t_guerilla.mdl"},
- description = [[You are a Black Market Dealer, Sell illegal items to people. (TBD)]],
- weapons = {},
- command = "blackmarketdealer",
- max = 2,
- salary = 25,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- chief = false,
- category = "Dealers"
- })
- TEAM_SS = DarkRP.createJob("Secret Service", {
- color = Color(100, 20, 20, 255),
- model = "models/player/ct_urban.mdl",
- description = [[You are responsible for protecting the mayor.
- Take care of the old fellow, he is vanuarable to terrorists all the time! Before he enters a room, you need to make sure its secure.]],
- weapons = {"m9k_usp", "stunstick", "weaponchecker"},
- command = "ss",
- max = 2,
- salary = 65,
- admin = 0,
- vote = true,
- hasLicense = false,
- ammo = {
- ["pistol"] = 60,
- },
- category = "Civil Protection",
- })
- TEAM_SWAT = DarkRP.createJob("Swat", {
- color = Color(25, 25, 170, 255),
- model = {"models/player/swat.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", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
- 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"
- },
- category = "Civil Protection",
- })
- TEAM_ADMIN = DarkRP.createJob("SuperAdmin On Duty", {
- color = Color(170, 0, 0, 255),
- model = "models/player/swat.mdl",
- description = [[Admin on duty is when you as an admin, is ready to make sure the server stays at its best.
- It's up to you to patrol and respond to admin calls.]],
- weapons = {},
- command = "saod",
- max = 0,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserGroup() == "superadmin" end,
- })
- TEAM_HITMAN = DarkRP.createJob("Hitman", {
- color = Color(115, 0, 0, 255),
- model = "models/player/leet.mdl",
- description = [[You make your living off of other's blood. You are a wanted man on the run. If you want to make a living, you have to be sneaky.]],
- weapons = {"m9k_knife", "m9k_usp"},
- command = "hitman",
- max = 3,
- salary = 65,
- admin = 0,
- vote = true,
- hasLicense = false,
- category = "Criminals",
- })
- TEAM_GUARD = DarkRP.createJob("Guard", {
- color = Color(0,200,50,255),
- model = "models/player/barney.mdl",
- description = [[People will pay for protection, use your weapon or buy one from the local gundealer.]],
- weapons = {"m9k_colt1911"},
- command = "guard",
- max = 4,
- salary = 25,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Citizens",
- })
- --[[---------------------------------------------------------------------------
- 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,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement