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_NINJA = AddExtraTeam("Ninja", {
- color = Color(204, 204, 255, 255),
- model = "models/player/lordvipes/rerc_vector/vector_cvp.mdl",
- description = [[You are a Swift Ninja, You raid bases and use your agility to get in and out quietly.]],
- weapons = {"m9k_knife", "climb_swep2"},
- command = "ninja",
- max = 3,
- salary = 65,
- admin = 0,
- vote = false,
- haslicense = true,
- })
- TEAM_TERRORIST = AddExtraTeam("Terrorist", {
- color = Color(153, 204, 0, 255),
- model = "models/jessev92/player/misc/osamabl1.mdl",
- description = [[You are A Terrorist, You blow up public places to cause as much death as possible.]],
- command = "terrorist",
- max = 3,
- salary = 0,
- admin = 0,
- vote = false,
- haslicense = true,
- customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:GetUserGroup() == "donmod" or ply:GetUserGroup() == "dmod" or ply:GetUserGroup() == "donadmin" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup () == "headadmin" end,
- CustomCheckFailMsg = "This job is donator only!",
- })
- TEAM_ASSASSIN = AddExtraTeam("Assassin" , {
- color = Color(255, 0, 0, 255),
- model = "models/player/guerilla.mdl",
- description = [[You are a Hitman. Accept hits and complete them without being seen. Remember you need to be stealthy.]],
- weapons = {"m9k_m92beretta"},
- command = "assassin",
- max = 3,
- salary = 25,
- admin = 0,
- vote = true,
- haslicense = false,
- })
- TEAM_SWAT = AddExtraTeam("SWAT", {
- color = Color(0, 0, 255, 255),
- model = "models/player/specnaz/slow_specnaz.mdl",
- description = [[ You are the Most Elite of the Police Force. You are used for extreme situations.]],
- weapons = {"m9k_acr", "m9k_l85", "m9k_glock", "m9k_mp7", "arrest_stick", "unarrest_stick", "stunstick"},
- command = "swat",
- max = 3,
- salary = 145,
- admin = 0,
- vote = true,
- haslicense = true,
- })
- TEAM_POLICE = AddExtraTeam("Police Officer", {
- color = Color(0, 255, 255, 255),
- model = "models/player/pmc_1/pmc__01.mdl",
- description = [[You are part of the Police Force, You are responsible for protecting The City.]],
- weapons = {"m9k_m92beretta", "m9k_mp5", "arrest_stick", "unarrest_stick", "stunstick"},
- command = "police",
- max = 4,
- salary = 45,
- admin = 0,
- vote = true,
- haslicense = true,
- })
- TEAM_GUNDEALER = AddExtraTeam("Gun Dealer", {
- color = Color(255, 153, 51, 255),
- model = "models/player/smith.mdl",
- description = [[You Sell Weapons to help Citizens protect themself or for Thieves to do harm.]],
- command = "gundealer",
- max = 3,
- salary = 55,
- admin = 0,
- vote = false,
- haslicense = true,
- })
- TEAM_HEAVYGUNDEALER = AddExtraTeam("Heavy Gun Dealer", {
- color = Color(84, 84, 84, 255),
- model = "models/player/niko_bellic/slow.mdl",
- description = [[You Heavy Weapons.]],
- command = "heavygundealer",
- max = 2,
- salary = 55,
- admin = 0,
- vote = false,
- haslicense = true,
- })
- TEAM_GANGSTER = AddExtraTeam("Gangster", {
- color = Color(198, 226, 255, 255),
- model = "models/half-dead/gopniks/extra/playermodelonly.mdl",
- description = [[You are the low life, you do petty crimes for money.]],
- command = "gangster",
- max = 8,
- salary = 15,
- admin = 0,
- vote = false,
- haslicense = true,
- })
- TEAM_GANGSTERLEADER = AddExtraTeam("Gangster leader", {
- color = Color(153, 204, 255, 255),
- model = "models/player/dude.mdl",
- description = [[You lead the gangsters.]],
- command = "gangsterleader",
- max = 1,
- salary = 45,
- admin = 0,
- vote = false,
- haslicense = true,
- NeedToChangeFrom = {TEAM_GANGSTER}
- })
- TEAM_BRUTEENFORCER = AddExtraTeam("Brute Enforcer", {
- color = Color(0, 122, 255, 255),
- model = "models/player/umbrella_ct/umbrella_ct.mdl",
- description = [[You are A Cop who has betrayed the Feds and is on a Rampage. You may RDM Once every 5 minutes.]],
- command = "bruteenforcer",
- weapons = {"m9k_tec9"},
- max = 1,
- salary = 0,
- admin = 0,
- vote = false,
- haslicense = true,
- CustomCheckFailMsg = "This job is donator only!",
- customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:GetUserGroup() == "donmod" or ply:GetUserGroup() == "dmod" or ply:GetUserGroup() == "donadmin" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup () == "headadmin" end
- })
- TEAM_SWATCHIEF = AddExtraTeam("SWAT Chief", {
- color = Color(0, 0, 153, 255),
- model = "models/player/01ar_combine_soldier01.mdl",
- description = [[You are in charge of the SWAT Team, You are responsible for protecting The City and leading the SWAT team.]],
- weapons = {"m9k_deagle", "m9k_mp5", "m9k_famas", "m9k_l85", "m9k_auga3", "arrest_stick", "unarrest_stick", "stunstick"},
- command = "swatchief",
- max = 1,
- salary = 200,
- admin = 0,
- vote = true,
- haslicense = true,
- NeedToChangeFrom = {TEAM_SWAT},
- chief = true
- customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:GetUserGroup() == "dmod" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup() == "headadmin" or ply:GetUserGroup() == "donmod" or ply:GetUserGroup() == "donadmin" end,
- CustomCheckFailMsg = "This job is donator only!"
- })
- TEAM_KOBALT = AddExtraTeam("Kobalt", {
- color = Color(255, 51, 5, 255),
- model = "models/player/daedric.mdl",
- description = [[This job is for Slyck only! Leader of the Daedric Army]],
- weapons = {"m9k_milkormgl", "m9k_rpg7", "m9k_m249lmg", "gdcw_m200i"},
- command = "kobalt",
- max = 1,
- salary = 100,
- admin = 0,
- vote = false,
- haslicense = true,
- candemote = false,
- mayorCanSetSalary = false,
- customCheck = function(ply) return CLIENT or ply:SteamID("SteamId") == "STEAM_0:0:88422219" end,
- CustomCheckFailMsg = "This is Slyck's custom job!"
- })
- TEAM_THIEF = AddExtraTeam("Thief", {
- color = Color(75, 75, 75, 255),
- model = {"models/player/moon_knight/slow_v2.mdl"},
- description = [[]],
- weapons = {"lockpick","weapon_fists"},
- command = "thief",
- max = 4,
- salary = 60,
- admin = 0,
- vote = false,
- hasLicense = false,
- mayorCanSetSalary = false
- })
- TEAM_HOBO = AddExtraTeam("Hobo", {
- color = Color(80, 45, 0, 255),
- model = "models/player/corpse1.mdl",
- description = [[]],
- weapons = {"weapon_bugbait"},
- command = "hobo",
- max = 4,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- hobo = true,
- mayorCanSetSalary = false
- })
- TEAM_HOBOLORD = AddExtraTeam("Hobo Lord", {
- color = Color(80, 45, 0, 255),
- model = "models/player/hunter.mdl",
- description = [[]],
- weapons = {"weapon_fists","m9k_knife"},
- command = "hobolord",
- max = 1,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- hobo = true,
- mayorCanSetSalary = false
- })
- TEAM_EXPERTTHIEF = AddExtraTeam("Expert Thief", {
- color = Color(18, 55, 211, 59),
- model = "models/player/corvo.mdl",
- description = [[]],
- weapons = {"fastpick","weapon_fists"},
- command = "expertthief",
- max = 2,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:GetUserGroup() == "dmod" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup() == "headadmin" or ply:GetUserGroup() == "donmod" or ply:GetUserGroup() == "donadmin" end,
- CustomCheckFailMsg = "This job is donator only!"
- })
- /*---------------------------------------------------------------------------
- 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_ASSASSIN)
Advertisement
Add Comment
Please, Sign In to add comment