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(20, 150, 20, 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 = [[The Citizen is the most basic level of society you can hold besides being a hobo. You have no specific role in city life.]],
- weapons = {},
- command = "citizen",
- max = 0,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Citizens",
- })
- TEAM_POLICE = DarkRP.createJob("Police Officer", {
- color = Color(25, 25, 170, 255),
- model = {"models/player/uk_police/uk_police_01.mdl", "models/player/uk_police/uk_police_02.mdl", "models/player/uk_police/uk_police_03.mdl", "models/player/uk_police/uk_police_04.mdl", "models/player/uk_police/uk_police_05.mdl", "models/player/uk_police/uk_police_06.mdl", "models/player/uk_police/uk_police_07.mdl", "models/player/uk_police/uk_police_08.mdl", "models/player/uk_police/uk_police_09.mdl"},
- description = [[Protect the mayor and his town from the dangers..]],
- weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"},
- command = "cp",
- max = 6,
- salary = GAMEMODE.Config.normalsalary * 1.45,
- admin = 0,
- vote = true,
- hasLicense = true,
- ammo = {
- ["pistol"] = 60,
- },
- category = "The Good",
- })
- TEAM_GANG = DarkRP.createJob("Rebel", {
- 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 = [[Your a bad boy but you don't quite meet the ability to viciously murder.]],
- weapons = {},
- command = "gangster",
- max = 3,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "The Bad",
- })
- TEAM_MOB = DarkRP.createJob("Rebel Don", {
- color = Color(25, 25, 25, 255),
- model = "models/player/gman_high.mdl",
- description = [[Your the don of the rebels, tell them what to do and look after them.]],
- weapons = {"lockpick", "unarrest_stick"},
- command = "mobboss",
- max = 1,
- salary = GAMEMODE.Config.normalsalary * 1.34,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "The Bad",
- })
- TEAM_GUN = DarkRP.createJob("Gun Dealer", {
- color = Color(255, 140, 0, 255),
- model = "models/player/monk.mdl",
- description = [[Your have a permit to sell guns but watch out, your buyers may not!]],
- weapons = {},
- command = "gundealer",
- max = 2,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Citizens",
- })
- TEAM_MEDIC = DarkRP.createJob("Medic", {
- color = Color(47, 79, 79, 255),
- model = "models/player/kleiner.mdl",
- description = [[With your medical knowledge, have people pay for you to heal them.]],
- weapons = {"med_kit"},
- command = "medic",
- max = 3,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false,
- medic = true,
- category = "Citizens",
- })
- TEAM_CHIEF = DarkRP.createJob("Chief Police Officer", {
- color = Color(20, 20, 255, 255),
- model = "models/player/combine_soldier_prisonguard.mdl",
- description = [[The chief of the police, thats a hard job to keep.]],
- weapons = {"arrest_stick", "unarrest_stick", "weapon_deagle2", "stunstick", "door_ram", "weaponchecker"},
- command = "chief",
- max = 1,
- salary = GAMEMODE.Config.normalsalary * 1.67,
- admin = 0,
- vote = true,
- hasLicense = true,
- chief = true,
- ammo = {
- ["pistol"] = 60,
- },
- category = "The Good",
- })
- TEAM_MAYOR = DarkRP.createJob("Mayor", {
- color = Color(150, 20, 20, 255),
- model = "models/player/breen.mdl",
- description = [[Be protected by police, be loved. But be ready to have the worst happen.]],
- weapons = {},
- command = "mayor",
- max = 1,
- salary = GAMEMODE.Config.normalsalary * 1.89,
- admin = 0,
- vote = true,
- hasLicense = false,
- mayor = true,
- category = "The Good",
- })
- TEAM_HOBO = DarkRP.createJob("Homeless", {
- color = Color(80, 45, 0, 255),
- model = "models/player/corpse1.mdl",
- description = [[Have a home on the streets and beg for money. D:]],
- weapons = {"weapon_bugbait"},
- command = "hobo",
- max = 5,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- hobo = true,
- category = "The Ugly",
- })
- end
- -- Compatibility for when default teams are disabled
- TEAM_CITIZEN = TEAM_CITIZEN or -1
- TEAM_POLICE = TEAM_POLICE or -1
- TEAM_GANG = TEAM_GANG or -1
- TEAM_MOB = TEAM_MOB or -1
- TEAM_GUN = TEAM_GUN or -1
- TEAM_MEDIC = TEAM_MEDIC or -1
- TEAM_CHIEF = TEAM_CHIEF or -1
- TEAM_MAYOR = TEAM_MAYOR or -1
- TEAM_HOBO = TEAM_HOBO or -1
- --[[---------------------------------------------------------------------------
- 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