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:
- ---------------------------------------------------------------------------]]
- --[[---------------------------------------------------------
- Name: Settings
- -----------------------------------------------------------]]
- local GroupDonator = { "superadmin", "admin", "Donator Mod", "Community Manager", "moderator", "doantor" }
- TEAM_BLACK = DarkRP.createJob("Black Market Dealer", {
- color = Color(99, 98, 98, 255),
- model = {"models/player/Eli.mdl"},
- description = [[You are to sell guns to people. dont discriminate over any job]],
- weapons = {},
- command = "bmd",
- max = 3,
- salary = 250,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- -- CustomCheck
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- category = "Citizens",
- })
- TEAM_SWATMEDIC = DarkRP.createJob("S.W.A.T Medic", {
- color = Color(0, 80, 255, 255),
- model = {"models/player/bfh_mechanic.mdl"},
- description = [[Assist other S.W.A.T members when they are injured]],
- weapons = {"med_kit", "door_ram"},
- command = "cswatmedic",
- max = 2,
- salary = 60,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- medic = true,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- category = "S.W.A.T",
- })
- TEAM_SWATSNIPER = DarkRP.createJob("S.W.A.T Sniper", {
- color = Color(0, 80, 255, 255),
- model = {"models/player/bfh_mechanic.mdl"},
- description = [[Snipe those terrorists from far away]],
- weapons = {"m9k_usp", "m9k_m24", "door_ram"},
- command = "cswatsniper",
- max = 1,
- salary = 75,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- category = "S.W.A.T",
- customCheck = function(ply) return
- table.HasValue( GroupDonator, ply:GetNWString("usergroup") )
- end,
- customCheckFailMsg = "This is restricted to donator and higher!",
- })
- TEAM_TERRORISTLEADER = DarkRP.createJob("Terrorist Leader", {
- color = Color(255, 140, 0, 255),
- model = {"models/player/kuma/alqaeda_commando.mdl"},
- description = [[Lead the terrorists to victory! Cause chaos!!!]],
- weapons = {"weapon_jihadbomb"},
- command = "cterroristleader",
- max = 1,
- salary = 95,
- admin = 0,
- vote = true,
- hasLicense = false,
- candemote = true,
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- category = "Citizens",
- })
- TEAM_TRAINEDHITMAN = DarkRP.createJob("Trained Hitman", {
- color = Color(25, 25, 25, 255),
- model = "models/player/charple.mdl",
- description = [[Be a better hitman]],
- weapons = {"unarrest_stick", "m9k_m24"},
- command = "ctrainedhitman",
- max = 1,
- salary = 80,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Gangsters",
- })
- TEAM_SWATLEADER = DarkRP.createJob("S.W.A.T Leader", {
- color = Color(0, 80, 255, 255),
- model = {"models/player/swat.mdl"},
- description = [[The S.W.A.T leader should lead]],
- weapons = {"m9k_usp", "stunstick", "door_ram", "arrest_stick", "unarrest_stick"},
- command = "cswatleader",
- max = 1,
- salary = 75,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- category = "S.W.A.T",
- customCheck = function(ply) return
- table.HasValue( GroupDonator, ply:GetNWString("usergroup") )
- end,
- customCheckFailMsg = "This is restricted to donator and higher!",
- })
- TEAM_TERROR = DarkRP.createJob("Terrorist", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/kuma/alqaeda_commando.mdl"},
- description = [[You are to terrorize the city and scare people and raid the pd for guns and to kill the cops you are able to take over the pd.]],
- weapons = {},
- command = "terrorist",
- max = 4,
- salary = 10,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- -- CustomCheck
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- category = "Citizens",
- })
- 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 legal printers.]],
- weapons = {"weapon_arc_atmcard"},{"lockpick", "keypad_cracker", "weapon_arc_atmcard"}, -- You may wanna find a pickpocket swep and add it here.
- command = "mthief",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens",
- })
- TEAM_MTHIEF = DarkRP.createJob("Master Thief", {
- color = Color(0, 0, 0, 255),
- model = "models/player/guerilla.mdl",
- description = [[You are a thief, rob people, lockpick their house and steal their plants and legal printers.]],
- weapons = {"prokeypadcracker", "pro_lockpick_update", "m9k_deagle", "weapon_arc_atmcard"}, -- You may wanna find a pickpocket swep and add it here.
- command = "thief",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens",
- customCheck = function(ply) return
- table.HasValue( GroupDonator, ply:GetNWString("usergroup") )
- end,
- customCheckFailMsg = "This is restricted to donator and higher!",
- })
- TEAM_HITMAN = DarkRP.createJob("Hitman", {
- color = Color(0, 0, 0, 255),
- model = "models/agent_47.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_an94", "vincent1911", "weapon_arc_atmcard"},
- command = "hitman",
- max = 1,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens",
- })
- TEAM_SECURITY = DarkRP.createJob("Security Guard", {
- color = Color(0, 178, 255, 255),
- model = {"models/player/guard_pack/guard_01.mdl", "models/player/guard_pack/guard_02.mdl", "models/player/guard_pack/guard_03.mdl", "models/player/guard_pack/guard_04.mdl", "models/player/guard_pack/guard_05.mdl", "models/player/guard_pack/guard_06.mdl", "models/player/guard_pack/guard_07.mdl", "models/player/guard_pack/guard_08.mdl", "models/player/guard_pack/guard_09.mdl"},
- description = [[You are to be hired to protect someone or shop.]],
- weapons = {"m9k_deagle", "weapon_cuff_police", "stunstick"},
- command = "securityguard",
- max = 5,
- salary = 250,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- category = "Citizens",
- })
- 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", "weapon_cuff_police", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "weapon_arc_atmcard"},
- 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",
- })
- --// On duty jobs
- TEAM_ADMIN = DarkRP.createJob("Admin On Duty", {
- color = Color(170, 0, 0, 255),
- model = {"models/player/combine_super_soldier.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 = {"weapon_arc_atmcard"},{"weapon_arc_atmcard"},
- command = "aod",
- max = 0,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserGroup() == "admin" or "headadmin" end,
- })
- TEAM_SADMIN = DarkRP.createJob("Superadmin On Duty", {
- color = Color(170, 0, 0, 255),
- model = {"models/player/combine_super_soldier.mdl"},
- description = [[Superadmin on duty is when you as an superadmin, is ready to make sure the server stays at its best.
- It's up to you to patrol and respond to admin calls.]],
- weapons = {"weapon_arc_atmcard"},
- command = "saod",
- max = 0,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserGroup() == "superadmin" end,
- category = "Citizens"
- })
- TEAM_MOD = DarkRP.createJob("Mod on duty", {
- color = Color(170, 0, 0, 255),
- model = {"models/player/combine_super_soldier.mdl"},
- description = [[Mod on duty is when you as an mod, is ready to make sure the server stays at its best.
- It's up to you to patrol and respond to admin calls.]],
- weapons = {"weapon_arc_atmcard"},
- command = "mod",
- max = 0,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserGroup() == "Moderator", "Donator Mod" end,
- category = "Citizens"
- })
- TEAM_DRUG = DarkRP.createJob("Drug Dealer", {
- color = Color(51, 204, 255, 255),
- model = "models/player/Kleiner.mdl",
- description = [[You deal drugs to those in need.
- Be careful, may get arrested if caught in the act!]],
- weapons = {"weapon_arc_atmcard"},
- command = "drug",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens",
- })
- TEAM_FREE = DarkRP.createJob("Free Runner", {
- color = Color(0, 99, 142, 255),
- model = {"models/player/alyx.mdl"},
- description = [[You are able to mug for a max of 7k. you are to cause trouble and then run from them. You may raid silently. You cannot attack until they attack you first.]],
- weapons = {"m9k_deagle", "climb_swep2", "weapon_fists", "weapon_arc_atmcard"},
- command = "freerun",
- max = 5,
- salary = 400,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- category = "Citizens",
- })
- TEAM_CHIEF = DarkRP.createJob("Police Chief", {
- color = Color(20, 20, 255, 255),
- model = "models/player/combine_soldier_prisonguard.mdl",
- description = [[The Chief is the leader of the Civil Protection unit.
- Coordinate the police force to enforce law in the city.
- Hit a player with 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 his/her arrest.
- Type /wanted <name> to alert the public to the presence of a criminal.
- Type /jailpos to set the Jail Position]],
- weapons = {"weapon_arc_atmcard","arrest_stick", "unarrest_stick", "weapon_deagle2", "stunstick", "door_ram", "weaponchecker"},
- command = "chief",
- max = 1,
- salary = GAMEMODE.Config.normalsalary * 1.67,
- admin = 0,
- vote = false,
- hasLicense = true,
- chief = true,
- NeedToChangeFrom = TEAM_POLICE,
- ammo = {
- ["pistol"] = 60,
- },
- category = "Civil Protection",
- })
- TEAM_POLICE = DarkRP.createJob("Police", {
- color = Color(25, 25, 170, 255),
- model = {"models/player/police.mdl", "models/player/police_fem.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 = {"weapon_arc_atmcard","arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"},
- command = "cp",
- max = 4,
- salary = GAMEMODE.Config.normalsalary * 1.45,
- admin = 0,
- vote = true,
- hasLicense = true,
- ammo = {
- ["pistol"] = 60,
- },
- category = "Civil Protection",
- })
- TEAM_FBI = DarkRP.createJob("FBI", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/fbi/fbi_01.mdl", "models/player/fbi/fbi_02.mdl", "models/player/fbi/fbi_03.mdl", "models/player/fbi/fbi_04.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", "weapon_cuff_police", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "weapon_arc_atmcard"},
- command = "FBI",
- 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_BANK = DarkRP.createJob("Banker", {
- color = Color(255, 198, 0, 255),
- model = {"models/player/magnusson.mdl"},
- description = [[You are responsible for the safety and security of the mayor.
- You may legally print in a bank.
- You may not base or own doors/buildings.
- Do not take this job if there is no mayor.
- You may own any type of weapon
- You must guard the mayor with your life]],
- weapons = {"m9k_deagle", "stunstick", "weaponchecker", "weapon_cuff_police", "weapon_arc_atmcard"},
- command = "banker",
- max = 1,
- salary = 360,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- -- CustomCheck
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- 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,
- [TEAM_SWAT] = true,
- [TEAM_FBI] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_HITMAN)
- DarkRP.addHitmanTeam(TEAM_TRAINEDHITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement