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_ADMIN = DarkRP.createJob("Admin On Duty", {
- color = Color(150, 20, 20, 255),
- model = "models/player/zeus_combine_v2/zeus_combine_v2.mdl",
- description = [[eh]],
- weapons = {"med_kit"},
- command = "aod",
- max = 5,
- salary = 100,
- admin = 1,
- vote = false,
- hasLicense = false,
- })
- TEAM_SADMIN = DarkRP.createJob("Moderator on duty", {
- color = Color(150, 20, 20, 255),
- model = "models/player/zeus_combine_v2/zeus_combine_v2.mdl",
- description = [[yolo]],
- weapons = {"med_kit", "unarrest_stick"},
- command = "saod",
- max = 5,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserGroup() == "Moderator" end,
- })
- TEAM_HITMAN = DarkRP.createJob("Hitman", {
- color = Color(0, 0, 0, 255),
- model = "models/player/sunabouzu.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 = {"m9k_m24", "lockpick"},
- command = "hitman",
- max = 1,
- salary = 65,
- admin = 0,
- vote = true,
- hasLicense = false,
- })
- TEAM_KIDNAPPER = DarkRP.createJob("Kidnapper", {
- color = Color(0, 0, 0, 255),
- model = "models/player/stripped.mdl",
- description = [[Kidnap people and sell them for money!]],
- weapons = {"m9k_nerve_gas", "weapon_cuff_elastic"},
- command = "mugg",
- max = 2,
- salary = 50,
- admin = 0,
- vote = true,
- hasLicense = false,
- customCheck = function(ply) return table.HasValue({"Moderator", "VIP", "Admin", "superadmin", "Owner"}, ply:GetNWString("usergroup")) end
- })
- TEAM_DRUGCARTEL = AddExtraTeam("Mexican Drug Lord", {
- color = Color(10, 10, 10, 255),
- model = "models/player/css_leet.mdl",
- description = [[As the mexican drug boss you have the authority to
- tell the mexican drug cartel what to do. But be careful because
- police informent will be looking out for you.
- Mexican Drug Lord's can declare a war against SWAT / DEA agents, if the SWAT Leader agrees.
- SALARY:50]],
- weapons = {"lockpick", "unarrest_stick", "m9k_m92beretta"},
- command = "drugcartelboss",
- max = 1,
- salary = 50,
- admin = 0,
- vote = true,
- hasLicense = false,
- })
- TEAM_DRUGMEMBER = AddExtraTeam("Mexican Cartel Members", {
- color = Color(10, 10, 10, 255),
- model = "models/player/male17.mdl",
- description = [[Mug and raid people for weed and meth.
- SALARY:50]],
- weapons = {"lockpick", "unarrest_stick", "m9k_m29satan"},
- command = "drugcartel",
- max = 4,
- salary = 50,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_DEA = AddExtraTeam("DEA Agent", {
- color = Color(10, 10, 10, 255),
- model = "models/player/css_riot.mdl",
- description = [[Check houses with drugs with warrants, and have a war against the Mexican Drug Cartel!]],
- weapons = {"lockpick", "arrest_stick", "m9k_m29satan"},
- command = "dea",
- max = 3,
- salary = 50,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_SS = AddExtraTeam("Secret Service", {
- color = Color(255, 10, 10, 255),
- model = "models/player/combine_soldier.mdl",
- description = [[As a secret service agent, it is your job to make sure the
- mayor is safe under any Circumstances. But you are still under
- the authority of the police chief.
- SALARY:50]],
- weapons = {"m9k_mp5sd", "arrest_stick", "unarrest_stick"},
- command = "secretservice",
- max = 2,
- salary = 50,
- admin = 0,
- vote = true,
- hasLicense = true,
- })
- TEAM_SWATCO = AddExtraTeam("S.W.A.T Commander", {
- color = Color(10, 10, 100, 255),
- model = "models/player/urban.mdl",
- description = [[ [Donator Job] As a S.W.A.T Commander it is your
- job to infiltrate
- drug labs and and asisest police officers on high level raids.
- You are still under the athorty of the police cheif.
- SALARY:130]],
- weapons = {"arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "m9k_honeybadger"},
- command = "swatco",
- max = 1,
- salary = 130,
- admin = 0,
- vote = true,
- hasLicense = true,
- customCheck = function(ply) return table.HasValue({"Moderator", "VIP", "Admin", "superadmin", "Owner"}, ply:GetNWString("usergroup")) end,
- NeedToChangeFrom = TEAM_SWAT,
- })
- --[[---------------------------------------------------------------------------
- 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