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_BARTENDER = DarkRP.createJob("Bartender", {
- color = Color(0, 0, 0, 255),
- model = "models/player/eli.mdl",
- description = [[You are a sell them drinks.]],
- weapons = {"tfa_colt1911", "weapon_medkit", "stunstick"}, -- You may wanna find a gm_pickpocket swep and add it here.
- command = "bartender",
- max = 1,
- salary = 125,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens",
- })
- TEAM_THERAPISTS = DarkRP.createJob("Therapist", {
- color = Color(0, 0, 0, 255),
- model = "models/player/magnusson.mdl",
- description = [[You are a therapist, help people, go to their house for sessions to stop them from their problems.]],
- weapons = {"lockpick", "weapon_medkit", "stunstick"}, -- You may wanna find a gm_pickpocket swep and add it here.
- command = "therapist",
- max = 5,
- salary = 125,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens",
- })
- TEAM_THIEF = DarkRP.createJob("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 illegal printers.]],
- weapons = {"lockpick", "gm_pickpocket", "tfa_ragingbull"}, -- You may wanna find a gm_pickpocket swep and add it here.
- command = "thief",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Criminals",
- })
- TEAM_HITMAN = DarkRP.createJob("Assassin", {
- color = Color(0, 0, 0, 255),
- model = "models/heroes/windranger/windranger.mdl",
- description = [[You are a assassin take out who your hired to murder.]],
- weapons = {"lockpick", "gm_pickpocket", "tfa_barret_m82", "tfa_m249lmg"},
- command = "assassin",
- max = 2,
- salary = 6500,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Donater",
- })
- 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 = {"tfa_m24"},
- command = "hitman",
- max = 1,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Criminals",
- })
- 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 = {"weapon_cuff_police", "unarrest_stick", "tfa_m92beretta", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
- command = "Swat",
- max = 4,
- 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_ADMIN = DarkRP.createJob("Admin On Duty", {
- color = Color(170, 0, 0, 255),
- model = "models/player/zeus_combine_v2/zeus_combine_v2.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 = {},
- command = "aod",
- max = 0,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserGroup() == "Superadmin" end,
- category = "Admin jobs",
- })
- TEAM_MD = DarkRP.createJob("Mayors Daughter", {
- color = Color(255,100,100,255),
- model = "models/player/alyx.mdl",
- description = [[You are the mayors daughter, walk around with your dad
- just chill around. But be careful, you never know when somebody
- is waiting to kidnap you!]],
- weapons = {"tfa_colt1911", "weapon_cuff_shackles", "gm_pickpocket"},
- command = "mayorsdaughter",
- max = 1,
- salary = 800,
- admin = 0,
- vote = true,
- hasLicense = false,
- category = "Civil Protection",
- })
- TEAM_GUARD = DarkRP.createJob("Guard", {
- color = Color(0,200,50,255),
- model = "models/player/barney.mdl",
- description = [[People will pay for protection, use your weapon or buy one from the local gundealer.]],
- weapons = {"tfa_uzi"},
- command = "guard",
- max = 1,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Citizens",
- })
- TEAM_DRUGGY = DarkRP.createJob("Drug Dealer", {
- color = Color(51, 204, 255, 255),
- model = "models/player/aphaztech.mdl",
- description = [[You deal drugs to those in need.
- Be careful, may get arrested if caught in the act!]],
- weapons = {},
- command = "drug",
- max = 5,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Criminals",
- })
- TEAM_LAWYER = AddExtraTeam("Lawyer", {
- color = Color(100, 150, 200, 255),
- model = "models/player/hostage/hostage_04.mdl",
- description = [[As a lawyer you are responsible for fighting
- on your clints behalf this includes bailing him out of jail, and or
- pvp confrontation.]],
- weapons = {"unarrest_stick", "hl2_combo_fists"},
- command = "lawyer",
- max = 3,
- salary = 60,
- admin = 0,
- vote = true,
- hasLicense = false,
- category = "Citizens",
- })
- TEAM_SS = AddExtraTeam("Secret Service", {
- color = Color(255, 10, 10, 255),
- model = "models/agent_47/agent_47.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. ]],
- weapons = {"tfa_ragingbull", "hl2_combo_fists", "weapon_cuff_police", "policebadgewallet", "policebadge"},
- command = "secretservice",
- max = 2,
- salary = 50,
- admin = 0,
- vote = true,
- hasLicense = true,
- category = "Civil Protection",
- })
- --[[---------------------------------------------------------------------------
- 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_MD] = true,
- [TEAM_SS] = true,
- [TEAM_SWAT] = true,
- [TEAM_LAWYER] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement