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_CITIZEN = DarkRP.createJob("Citizen", {
- color = Color(240, 230, 230, 255),
- model = {
- "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/Group02/male_04.mdl",
- "models/player/Group02/male_06.mdl"
- },
- description = [[You the Citizen are the lowest role of this society, get a fucking job.
- You cannot raid.
- You cannot Mug.
- You can only kill in self-defense.]],
- weapons = {},
- command = "job citizen",
- max = 0,
- salary = 200,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Jobs"
- })
- TEAM_HEAVYARMSGUNDEALER = DarkRP.createJob("Heavy Gun Arms Dealer", {
- color = Color(250, 255, 0, 255),
- model = {"models/player/monk.mdl"},
- description = [[You are the supplier of Heavy Ordinance for the server. Due to this you"re weapons are at a higher cost resulting in you having to sell guns at a higher mark up.
- You cannot Raid.
- You cannot Mug.
- You can only kill in self-defense.]],
- weapons = {},
- command = "job heavy arms gundealer",
- max = 1,
- salary = 498,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Jobs",
- customCheck = function(ply) return CLIENT or
- table.HasValue({"Donator", "Donator+", "superadmin", "admin"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This job is Donator only!",
- })
- TEAM_SMALLARMSGUNDEALER = DarkRP.createJob("Small Arms Gun Dealer", {
- color = Color(250, 255, 0, 255),
- model = {"models/player/monk.mdl"},
- description = [[You are the supplier of Small Arms. You carry guns such as pistols and, smgs. You sell the lowest cost out of all the weapons meaning that means you should probably sell at a moderate price. You must must make a shop in order to sell guns.
- You cannot Raid.
- You cannot Mug.
- You can only kill in self-defense.]],
- weapons = {},
- command = "job small arms gundealer",
- max = 3,
- salary = 250,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Jobs"
- })
- TEAM_MEDIUMARMSGUNDEALER = DarkRP.createJob("Medium Arms Gun Dealer", {
- color = Color(250, 255, 0, 255),
- model = {"models/player/monk.mdl"},
- description = [[You are the supplier of Medium Arms. You carry guns such as assault rifles, shotguns and, snipers. Your weapons cost a moderate amount. In order to sell weapons you must setup a shop.
- You cannot Raid.
- You cannot Mug.
- You can only kill in self-defense.]],
- weapons = {},
- command = "job medium arms gundealer",
- max = 3,
- salary = 250,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Jobs"
- })
- TEAM_HOBO = DarkRP.createJob("Hobo", {
- color = Color(66, 255, 0, 255),
- model = {"models/player/corpse1.mdl"},
- description = [[You are the scum of the server, the shitstain, the cunts. Your goal is to annoy the populace of the server as much as possible. MAKE SURE you read the rules before playing this job because, any rule breaking while playing will result in a harsher punishment and, possible blacklisting of you from the job.]],
- weapons = {"weapon_angryhobo"},
- command = "job hobo",
- max = 0,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Jobs"
- })
- TEAM_HOBOKING = DarkRP.createJob("Hobo King", {
- color = Color(66, 255, 0, 255),
- model = {"models/player/charple.mdl"},
- description = [[You are the King of Shitstains, the Duke of being a cunt, the President of Antifa.
- You lead the Hobo's in rebellion against the server, which includes you being able to declare war against the government.
- You can use weapons in your crimes but, it must be a heavy weapon which ensures that you can mow down crowds of people.]],
- weapons = {"weapon_angryhobo"},
- command = "job hoboking",
- max = 1,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Jobs",
- NeedToChangeFrom = TEAM_HOBO,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(200)
- ply:SetHealth(200)
- ply:SetArmor(99)
- end,
- customCheck = function(ply) return CLIENT or
- table.HasValue({"Donator", "Donator+", "superadmin", "admin"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This job is Donator only!",
- })
- TEAM_TERRORIST = DarkRP.createJob("Terrorist", {
- color = Color(255, 15, 0, 255),
- model = {"suicide_terrorist_391355669\lua\entities\suicide_terrorist"},
- description = [[Your role is to wreck havoc onto the server.
- You can raid.
- You cannot mug.
- You can use your suicide bomb in raids.
- You can commit attacks on random people but, you must advert terror attack!.]],
- weapons = {"weapon_suicide"},
- command = "job terrorist",
- max = 1,
- salary = 400,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Jobs",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- customCheck = function(ply) return CLIENT or
- table.HasValue({"Donator", "Donator+", "superadmin", "admin"}, ply:GetNWString("usergroup"))
- 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_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement