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_POLICE = DarkRP.createJob("Police Officer", {
- color = Color(25, 25, 170, 255),
- model = {
- "models/DPFilms/Metropolice/Playermodels/pm_tf2_metrocop_blu.mdl",
- "models/DPFilms/Metropolice/Playermodels/pm_tf2_metrocop_red.mdl",
- "models/DPFilms/Metropolice/Playermodels/pm_black_police.mdl",
- "models/DPFilms/Metropolice/Playermodels/pm_arctic_police.mdl",
- "models/DPFilms/Metropolice/Playermodels/pm_hl2beta_police.mdl",
- "models/DPFilms/Metropolice/Playermodels/pm_HDpolice.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", "fas2_glock20", "stunstick", "door_ram", "weaponchecker"},
- command = "cp",
- max = 4,
- salary = GAMEMODE.Config.normalsalary * 1.45,
- admin = 0,
- vote = true,
- hasLicense = true,
- ammo = {
- ["pistol"] = 60,
- }
- })
- TEAM_GANG = DarkRP.createJob("Gangster", {
- color = Color(75, 75, 75, 255),
- model = {
- "models/player/Group03/Female_01.mdl",
- "models/player/Group03/Female_02.mdl",
- "models/player/Group03/Female_03.mdl",
- "models/player/Group03/Female_04.mdl",
- "models/player/Group03/Female_06.mdl",
- "models/player/group03/male_01.mdl",
- "models/player/Group03/Male_02.mdl",
- "models/player/Group03/male_03.mdl",
- "models/player/Group03/Male_04.mdl",
- "models/player/Group03/Male_05.mdl",
- "models/player/Group03/Male_06.mdl",
- "models/player/Group03/Male_07.mdl",
- "models/player/Group03/Male_08.mdl",
- "models/player/Group03/Male_09.mdl"},
- description = [[The lowest person of crime.
- A gangster generally works for the KingPin who runs the crime family.
- The KingPin sets your agenda and you follow it or you might be punished.]],
- weapons = {},
- command = "gangster",
- max = 3,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_KING = DarkRP.createJob("KingPin", {
- color = Color(25, 25, 25, 255),
- model = "models/player/gman_high.mdl",
- description = [[The KingPin is the boss of the criminals in the city.
- With his power he coordinates the gangsters and forms an efficient crime organization.
- He has the ability to break into houses by using a lockpick.
- The Kingpin posesses the ability to unarrest you.]],
- weapons = {"lockpick", "unarrest_stick"},
- command = "kingpin",
- max = 1,
- salary = GAMEMODE.Config.normalsalary * 1.34,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_GUN = DarkRP.createJob("Gun Dealer", {
- color = Color(255, 140, 0, 255),
- model = "models/player/monk.mdl",
- description = [[A Gun Dealer is the only person who can sell guns to other people.
- Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
- weapons = {"weapon_fists"},
- command = "gundealer",
- max = 2,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_MEDIC = DarkRP.createJob("Medic", {
- color = Color(47, 79, 79, 255),
- model = "models/player/kleiner.mdl",
- description = [[With your medical knowledge you work to restore players to full health.
- Without a medic, people cannot be healed.
- Left click with the Medical Kit to heal other players.
- Right click with the Medical Kit to heal yourself.]],
- weapons = {"fas2_ifak"},
- command = "medic",
- max = 3,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false,
- medic = true
- })
- TEAM_CHIEF = DarkRP.createJob("Sheriff", {
- color = Color(20, 20, 255, 255),
- model = "models/DPFilms/Metropolice/Playermodels/pm_zombie_police.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 = {"arrest_stick", "unarrest_stick", "fas2_deagle", "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,
- }
- })
- TEAM_MAYOR = DarkRP.createJob("President Shrek", {
- color = Color(150, 20, 20, 255),
- model = "models/narry/shrek_playermodel_v1.mdl",
- description = [[Better get ready to get Shrekt by president Shrek
- If you are Shrek you may create and accept warrants.
- Type /wanted <name> to warrant a player.
- Type /jailpos to set the Jail Position.
- Type /lockdown initiate a lockdown of the city.
- Everyone must be inside during a lockdown.
- The Donkeys patrol the area.
- /unlockdown to end a lockdown]],
- weapons = {"arrest_stick", "unarrest_stick", "fas2_ots33", "stunstick", "door_ram", "weaponchecker"},
- command = "mayor",
- max = 1,
- salary = GAMEMODE.Config.normalsalary * 1.89,
- admin = 0,
- vote = true,
- hasLicense = false,
- mayor = true,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- if killer:IsPlayer() then
- DarkRP.notifyAll(0, 4, "The mayor has been rekt.")
- else
- DarkRP.notifyAll(0, 4, "The mayor has been rekt and will be made Citizen")
- end
- end
- })
- TEAM_MAX = DarkRP.createJob("Max's Custom Class", {
- color = Color(0, 153, 153, 255),
- model = "models/player/combine_soldier04.mdl",
- description = [[Soldier from the Future to the past to kick ass
- and chew bubblegum, but he's all out of gum]],
- weapons = {"fas2_deagle","weapon_fists","fas2_m4a1","fas2_m82"},
- command = "max",
- max = 1,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck=function(ply) return ply:SteamID()== "STEAM_0:1:86736572" end,
- })
- TEAM_BOOM = DarkRP.createJob("Jihad",{
- color = Color(255, 204, 50, 255),
- model = "models/player/Phoenix.mdl",
- description = [[You are a Jihad.
- Donator and VIP Job Only.
- You can only Get Hired by the Kingpin, and Don.
- You sacrifice yourself to Shrek, by blowing up.
- You also sell Gas Cans, to The Don, And KingPin
- Only!(Dynamite might be added later on after future
- Updates.) ]],
- weapons = {"weapon_fists","weapon_jihadbomb"},
- command = "boom",
- max = 1,
- salary = 50,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserGroup() == "donator" or
- ply:GetUserGroup() == "donator+" or
- ply:GetUserGroup() == "vip" or
- ply:GetUserGroup() == "vip+" or
- ply:GetUserGroup() == "admin" or
- ply:GetUserGroup() == "superadmin" or
- ply:GetUserGroup() == "Owner" end,
- })
- TEAM_ATTACH = DarkRP.createJob("Attachment Dealer",{
- color = Color(204, 204, 0, 255),
- model = "models/player/eli.mdl",
- description = [[You sell Weapon Attachments,
- You can ONLY set up a shop alongside a Gun
- Dealer.
- You cannot have your Own Shop.
- ]],
- weapons = {"weapon_fists"},
- command = "attach",
- max = 2,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_DON = DarkRP.createJob("The Don",{
- color = Color(0, 0, 51, 255),
- model = "models/humans/mafia/male_08.mdl",
- description = [[You are The Don of the Mafia. You control the
- Family.
- Your Mafia Members follow your orders. You Kill
- the Gangsters on sight, but don\'t fire unless
- fired upon.
- Rise up against Corrupt government, and take a
- stand.
- You may Call war on Government only for Legitimate
- reasons. ]],
- weapons = {"weapons_fists","unarrest_stick","lockpick"},
- command = "don",
- max = 1,
- salary = 75,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_MAFIA = DarkRP.createJob("Mafia Member",{
- color = Color(0, 0, 51, 255),
- model = {
- "models/humans/mafia/male_02.mdl",
- "models/humans/mafia/male_04.mdl",
- "models/humans/mafia/male_06.mdl",
- "models/humans/mafia/male_07.mdl",
- "models/humans/mafia/male_09.mdl"},
- description = [[You are the Mafia Member. You follow orders from
- The Don.
- There will be Punishment if you go against his
- orders.
- Members cannot Call War, only The Don can.]],
- weapons = {"weapon_fists"},
- command = "mafia",
- max = 5,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_GUARD = DarkRP.createJob("Security Guard",{
- color = Color(0, 51, 102, 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 a Security Guard. You must get Hired by a
- Gun Dealer,
- Mafia,and KingPin. You DO NOT Work for free.
- ]],
- weapons = {"fas2_glock20","weapon_fists", "weaponchecker", "unarrest_stick", "stunstick"},
- command = "guard",
- max = 4,
- salary = 50,
- admin = 0,
- vote = false,
- hasLicense = true,
- })
- TEAM_SWAT = DarkRP.createJob("FBI",{
- color = Color(0, 0, 255, 255),
- model = {
- "models/fbi_pack/fbi_02.mdl",
- "models/fbi_pack/fbi_03.mdl"},
- description = [[You are the Elite of the Police Force.You Control
- the riots and Mobs around City17. Do NOT Fire
- Unless Fired Upon.]],
- weapons = {"weapon_fists","fas2_m4a1","fas2_deagle","stunstick","arrest_stick","unarrest_stick", "door_ram", "weaponchecker"},
- command = "swat",
- max = 4,
- salary = 65,
- admin = 0,
- vote = true,
- hasLicense = true,
- NeedToChangeFrom = TEAM_POLICE,
- })
- TEAM_SNIPER = DarkRP.createJob("FBI Sniper",{
- color = Color(0, 0, 255, 255),
- model = {
- "models/fbi_pack/fbi_02.mdl",
- "models/fbi_pack/fbi_03.mdl",
- "models/fbi_pack/fbi_04.mdl",
- "models/fbi_pack/fbi_05.mdl",
- "models/fbi_pack/fbi_06.mdl"},
- description = [[ You are the best of the best of the FBI,
- when it comes to sniping.
- you must have a Silencer at all times with your Sniper and Pistol,
- only Snipe when needed or in war with Mafia or Gang, or self Defense]],
- weapons = {"weapon_fists","fas2_m24","fas2_M1911", "fas2_sr25", "stunstick","arrest_stick","unarrest_stick", "door_ram", "weaponchecker"},
- command = "sniper",
- max = 4,
- salary = 70,
- admin = 0,
- vote = true,
- hasLicense = true,
- NeedToChangeFrom = TEAM_POLICE,
- customCheck = function(ply) return ply:GetUserGroup() == "donator" or
- ply:GetUserGroup() == "donator+" or
- ply:GetUserGroup() == "vip" or
- ply:GetUserGroup() == "vip+" or
- ply:GetUserGroup() == "admin" or
- ply:GetUserGroup() == "superadmin" or
- ply:GetUserGroup() == "Owner" end,
- })
- TEAM_HIT = DarkRP.createJob("Hitman",{
- color = Color(255, 102, 102, 255),
- model = "models/player/leet.mdl",
- description = [[You are a Hitman. The basic one. Act like a Hitman
- (e.g Be stealthy) Wait 10 minutes between each
- kill, you cannot kill the same person within a 30
- minute time limit.]],
- weapons = {"weapon_fists","fas2_ots33","fas2_p226"},
- command = "hit",
- max = 2,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserGroup() == "donator" or
- ply:GetUserGroup() == "donator+" or
- ply:GetUserGroup() == "vip" or
- ply:GetUserGroup() == "vip+" or
- ply:GetUserGroup() == "admin" or
- ply:GetUserGroup() == "superadmin" end,
- })
- TEAM_ASS = DarkRP.createJob("Assassin",{
- color = Color(0, 0, 0, 255),
- model = "models/player/superheroes/batman.mdl",
- description = [[You are the best of the best of Hitmen. You are as
- stealthy as Batman. Same rules as Hitman apply to
- you.]],
- weapons = {"weapons_fists","fas2_ak47","lockpick"},
- command = "assasin",
- max = 1,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserGroup() == "vip" or
- ply:GetUserGroup() == "vip+" or
- ply:GetUserGroup() == "admin" or
- ply:GetUserGroup() == "superadmin" or
- ply:GetUserGroup() == "Owner" end,
- })
- TEAM_LORD = DarkRP.createJob("Hobo Lord ",{
- color = Color(51, 51, 0, 255),
- model = "models/player/zombiefast.mdl",
- description = [[You are the Hobo Lord,You tell the Hobo\'s What to
- do.
- You may raid, and Kill the government/Call War on
- them, ONLY FOR A LEGIT REASON.]],
- weapons = {"lockpick","weapons_fists","unarrest_stick"},
- command = "lord",
- max = 1,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- NeedToChangeFrom = TEAM_HOBO,
- customCheck = function(ply) return ply:GetUserGroup() == "donator+" or
- ply:GetUserGroup() == "vip" or
- ply:GetUserGroup() == "vip+" or
- ply:GetUserGroup() == "admin" or
- ply:GetUserGroup() == "superadmin" or
- ply:GetUserGroup() == "Owner" end,
- })
- TEAM_STEAL = DarkRP.createJob("Thief",{
- color = Color(255, 51, 0, 255),
- model = {
- "models/player/Group01/Female_01.mdl",
- "models/player/Group01/Female_02.mdl",
- "models/player/Group01/Female_03.mdl",
- "models/player/Group01/Female_04.mdl",
- "models/player/Group01/Female_06.mdl",
- "models/player/group01/male_01.mdl",
- "models/player/Group01/Male_02.mdl",
- "models/player/Group01/male_03.mdl",
- "models/player/Group01/Male_04.mdl",
- "models/player/Group01/Male_05.mdl",
- "models/player/Group01/Male_06.mdl",
- "models/player/Group01/Male_07.mdl",
- "models/player/Group01/Male_08.mdl",
- "models/player/Group01/Male_09.mdl"
- },
- description = [[You are a thief. You steal shit, you can raid but
- you cannot raid solo, you must have a buddy and
- must advert mug, and raid.]],
- weapons = {"fas2_dv2","lockpick"},
- command = "steal",
- max = 6,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- /*---------------------------------------------------------------------------
- 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_SNIPER] = true,
- }
- /*---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------*/
- DarkRP.addHitmanTeam(TEAM_HIT, TEAM_ASS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement