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:
- ---------------------------------------------------------------------------]]
- --[[---------------------------------------------------------------------------
- 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_THIEF = DarkRP.createJob("Thief", {
- color = Color(0, 0, 0, 255),
- model = "models/player/suits/robber_tie.mdl",
- description = [[You are a thief, rob people, lockpick their house and steal their plants and legal printers.]],
- weapons = {‘m9k_colt1911’, ‘climb_swep2’, ‘guigui_handcuffs_lockpick’, ‘lockpick’},
- command = "thief",
- max = 4,
- salary = 80,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = “Citizens”,
- })
- TEAM_HITMAN = DarkRP.createJob("Hitman", {
- color = Color(0, 0, 0, 255),
- model = "models/Humans/Group03m/male_08.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’, ‘csgo_bayonet_bluesteel’},
- command = "hitman",
- max = 1,
- salary = 65,
- admin = 0,
- vote = true,
- hasLicense = false,
- category = "Citizens",
- })
- TEAM_SS = DarkRP.createJob("Secret Service", {
- color = Color(100, 20, 20, 255),
- model = "models/player/suits/male_04_closed_coat_tie.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_deagle’, ‘stunstick’, ‘weaponchecker’, ‘guigui_handcuffs’, ‘climb_swep2’},
- command = "ss",
- max = 2,
- salary = 65,
- admin = 0,
- vote = true,
- hasLicense = false,
- ammo = {
- ["pm9k_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’, ‘guigui_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_GUARD = DarkRP.createJob("Guard", {
- color = Color(0,200,50,255),
- model = "models/player/guard_pack/guard_07.mdl",
- description = [[People will pay for protection, use your weapon or buy one from the local gundealer.]],
- weapons = {‘weapon_deagle2’, ‘stunstick’, ‘guigui_handcuffs’},
- command = "guard",
- max = 1,
- salary = 85,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Citizens”,
- })
- You will need to add drug entities to this job, before he can sell.
- TEAM_DRUGGY = 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 = {},
- command = "drug",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens",
- })
- TEAM_SWATL = DarkRP.createJob("Swat Leader", {
- color = Color(20, 20, 255, 255),
- model = {"models/player/bfh_mechanic.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’, ‘guigui_handcuffs’},
- command = "SwatLeader”,
- max = 1,
- salary = 150,
- 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_SWATS = DarkRP.createJob("Swat Sniper", {
- color = Color(20, 20, 255, 255),
- model = "models/mw2guy/diver/diver_03.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’, ‘guigui_handcuffs’},
- command = "Swat",
- max = 2,
- salary = 120,
- 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_TERROR = DarkRP.createJob("Terrorist", {
- color = Color(255, 140, 0, 255),
- model = "models/player/suits/male_03_shirt.mdl",
- description = [[]],
- weapons = {"m9k_ak47"}, -- You may wanna find a pickpocket swep and add it here.
- command = "terrorist",
- max = 3,
- salary = 150,
- admin = 0,
- vote = true,
- hasLicense = false,
- category = "Citizens",
- })
- TEAM_TERRORL = DarkRP.createJob("Terrorist Leader", {
- color = Color(255, 140, 0, 255),
- model = "models/player/suits/male_01_open_tie.mdl",
- description = [[]],
- weapons = {‘m9k_ak47’, ‘m9k_ied_detonator’, ‘m9k_suicide_bomb’, ‘m9k_proxy_mine’, ‘m9k_rpg7’}
- command = "terroristl",
- max = 1,
- salary = 150,
- admin = 0,
- vote = true,
- hasLicense = false,
- category = "Citizens",
- })
- TEAM_MTHIEF = DarkRP.createJob("Master Thief", {
- color = Color(0, 0, 0, 255),
- model = "models/player/robber.mdl",
- description = [[You are a thief, rob people, lockpick their house and steal their plants and legal printers.]],
- weapons = {‘pro_lockpick_update’, ‘m9k_tec9’, ‘pickpocket’, ‘keypad_cracker’},
- command = "mthief",
- max = 2,
- salary = 110,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens",
- })
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement