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_THIEF = DarkRP.createJob("Thief", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/pd2_chains_p.mdl"},
- description = [[Steal from people. ]],
- weapons = {"lockpick"},
- command = "thief",
- max = 5,
- salary = 200,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Criminals"
- })
- TEAM_PTHIEF = DarkRP.createJob("Pro Thief", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/pd2_dallas_p.mdl"},
- description = [[Steal from people.]],
- weapons = {"lockpick", "weapon_glock2"},
- command = "prothief",
- max = 2,
- salary = 300,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Criminals"
- })
- TEAM_ETHIEF = DarkRP.createJob("Expert Thief", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/pd2_wolf_p.mdl"},
- description = [[Steal from people.]],
- weapons = {"lockpick", "weapon_glock2"},
- command = "Expthief",
- max = 2,
- salary = 900,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Criminals",
- customCheck = function(ply) return CLIENT or table.HasValue({"Vip+"}, ply:GetUserGroup()) or ply:IsAdmin() end,
- CustomCheckFailMsg = "This is for VIP+ ONLY!"
- })
- TEAM_HITMAN = DarkRP.createJob("Hitman", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/leet.mdl"},
- description = [[Take hits and kill people.]],
- weapons = {"ls_sniper"},
- command = "hitman",
- max = 2,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Criminals"
- })
- TEAM_OSTAFF = DarkRP.createJob("Owner", {
- color = Color(166, 12, 191, 255),
- model = {"models/player/daftpunk/daft_gold.mdl"},
- description = [[Owner of the server]],
- weapons = {},
- command = "owner",
- max = 0,
- salary = 0,
- admin = 2,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Staff"
- })
- TEAM_COSTAFF = DarkRP.createJob("Co-Owner", {
- color = Color(166, 12, 191, 255),
- model = {"models/player/daftpunk/daft_silver.mdl"},
- description = [[Co-Owner of the server]],
- weapons = {},
- command = "coowner",
- max = 0,
- salary = 0,
- admin = 2,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Staff"
- })
- TEAM_STAFFD = DarkRP.createJob("Community Director", {
- color = Color(166, 12, 191, 255),
- model = {"models/fallout_nv/nikout/lonesomeroad/riotsoldierp2.mdl"},
- description = [[Manager of the various admins, moderators, etc]],
- weapons = {},
- command = "staffdirector",
- max = 0,
- salary = 0,
- admin = 2,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Staff"
- })
- TEAM_SASTAFF = DarkRP.createJob("Senior Admin", {
- color = Color(166, 12, 191, 255),
- model = {"models/player/combine_super_soldier.mdl"},
- description = [[Manage admins]],
- weapons = {},
- command = "senioradmin",
- max = 0,
- salary = 0,
- admin = 2,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Staff"
- })
- TEAM_ASTAFF = DarkRP.createJob("Admin", {
- color = Color(0, 240, 255, 255),
- model = {"models/player/combine_super_soldier.mdl"},
- description = [[Enforce the server rules and resolve any conflicts]],
- weapons = {},
- command = "admin",
- max = 0,
- salary = 0,
- admin = 1,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Staff"
- })
- TEAM_TASTAFF = DarkRP.createJob("Trial Admin", {
- color = Color(0, 255, 41, 255),
- model = {"models/player/combine_super_soldier.mdl"},
- description = [[Enforce the server rules and resolve any conflicts. You may become an admin if the Senior Admins or Staff Manager see you a fit for the job.]],
- weapons = {},
- command = "trialadmin",
- max = 0,
- salary = 0,
- admin = 1,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Staff"
- })
- TEAM_MAYORCU = DarkRP.createJob("Mayor", {
- color = Color(0, 41, 255, 255),
- model = {"models/player/breen.mdl"},
- description = [[Create the laws for your citizens to follow.]],
- weapons = {},
- command = "mayorcu",
- max = 1,
- salary = 750,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- category = "Government",
- mayor = true,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "The mayor has been killed!")
- end
- })
- TEAM_POLICEO = DarkRP.createJob("Police Officer", {
- color = Color(18, 0, 255, 255),
- model = {"models/payday2/units/cop2_rebel.mdl"},
- description = [[Enforce the laws.]],
- weapons = {"weaponchecker", "door_ram", "arrest_stick", "unarrest_stick", "stunstick", "m9k_1911"},
- command = "policeofficer",
- max = 4,
- salary = 500,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Government"
- })
- TEAM_POLICEC = DarkRP.createJob("Police Chief", {
- color = Color(18, 0, 255, 255),
- model = {"models/payday2/units/cop3_combine.mdl"},
- description = [[Enforce the laws and lead the police.]],
- weapons = {"weaponchecker", "door_ram", "arrest_stick", "unarrest_stick", "stunstick", "m9k_1911", "m9k_mossberg590"},
- command = "policechief",
- max = 1,
- salary = 650,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- category = "Government",
- NeedToChangeFrom = TEAM_POLICE
- })
- TEAM_POLICESS = DarkRP.createJob("Secret Service", {
- color = Color(0, 0, 0, 255),
- model = {"models/fearless/02.mdl"},
- description = [[Enforce the laws undercover]],
- weapons = {"weaponchecker", "arrest_stick", "unarrest_stick", "stunstick", "m9k_ump45"},
- command = "secretservice",
- max = 4,
- salary = 500,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Government"
- })
- TEAM_POLICESSWAT = DarkRP.createJob("Swat Sniper", {
- color = Color(0, 32, 148, 255),
- model = {"models/payday2/units/sniper_fbi_player.mdl"},
- description = [[Enforce the laws in a very quiet way.]],
- weapons = {"weaponchecker", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "m9k_intervention"},
- command = "swatsniper",
- max = 0,
- salary = 750,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Government"
- })
- TEAM_POLICESWATM = DarkRP.createJob("Swat Medic", {
- color = Color(0, 32, 148, 255),
- model = {"models/payday2/units/medic_player.mdl"},
- description = [[Heal your fellow SWAT members.]],
- weapons = {"weaponchecker", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "med_kit"},
- command = "swatmedic",
- max = 1,
- salary = 750,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Government"
- })
- TEAM_POLICESWATT = DarkRP.createJob("Swat", {
- color = Color(0, 32, 148, 255),
- model = {"models/payday2/units/swat_fbi_combine.mdl"},
- description = [[Heal your fellow SWAT members.]],
- weapons = {"weaponchecker", "arrest_stick", "unarrest_stick", "stunstick", "door_ram"},
- command = "swatt",
- max = 1,
- salary = 750,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Government"
- })
- TEAM_CITIZENSMEDSS = DarkRP.createJob("Medic", {
- color = Color(0, 32, 148, 255),
- model = {"models/player/kleiner.mdl"},
- description = [[Sell your healing services.]],
- weapons = {"med_kit"},
- command = "medicit",
- max = 3,
- salary = 300,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Citizens"
- })
- TEAM_DEALERGUN = DarkRP.createJob("Gun Dealer", {
- color = Color(156, 0, 93, 255),
- model = {"models/player/monk.mdl"},
- description = [[Sell guns to the public.]],
- weapons = {},
- command = "gundealer",
- max = 3,
- salary = 150,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Dealers"
- })
- TEAM_DRUG = DarkRP.createJob("Drug Dealer", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/Group02/male_04.mdl"},
- description = [[You make drugs for a profit. Don't get caught!]],
- weapons = {},
- command = "drug",
- max = 4,
- salary = 250,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Criminals"
- })
- TEAM_BLOOD = DarkRP.createJob("Blood Member", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/slow/jknies/bloodz/slow_1.mdl"},
- description = [[Your apart of the Blood Gang. You have beef with the crips. You may raid each other bases and do "drive by" shootings.]],
- weapons = {"m9k_1911"},
- command = "Blood",
- max = 3,
- salary = 200,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Criminals"
- })
- TEAM_BLOODL = DarkRP.createJob("Blood Leader", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/slow/jknies/bloodz/slow_2.mdl"},
- description = [[Your apart of the Blood Gang. You have beef with the crips. You may raid each other bases and do "drive by" shootings.]],
- weapons = {"m9k_1911"},
- command = "BloodL",
- max = 1,
- salary = 300,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Criminals"
- })
- TEAM_CRIP = DarkRP.createJob("Crip Member", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/slow/jknies/cripz/slow_1.mdl"},
- description = [[Your apart of the Crip Gang. You have beef with the Bloods. You may raid each other bases and do "drive by" shootings.]],
- weapons = {"m9k_1911"},
- command = "Crip",
- max = 3,
- salary = 200,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Criminals"
- })
- TEAM_CRIPL = DarkRP.createJob("Crip Leader", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/slow/jknies/cripz/slow_2.mdl"},
- description = [[Your apart of the Crip Gang. You have beef with the Bloods. You may raid each other bases and do "drive by" shootings.]],
- weapons = {"m9k_1911"},
- command = "Cripl",
- max = 1,
- salary = 300,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Criminals"
- })
- TEAM_MAF = DarkRP.createJob("Mafia Member", {
- color = Color(0, 0, 0, 255),
- model = {"models/fearless/mafia04.mdl"},
- description = [[Your apart of the Mafia. You mug people for money in groups and hold people hostage.]],
- weapons = {"m9k_thompson"},
- command = "Maf",
- max = 2,
- salary = 200,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Criminals"
- })
- TEAM_MAFL = DarkRP.createJob("Mafia Leader", {
- color = Color(0, 0, 0, 255),
- model = {"models/fearless/don1.mdl"},
- description = [[Your apart of the Mafia. You mug people for money in groups and hold people hostage.]],
- weapons = {"m9k_thompson"},
- command = "MafL",
- max = 1,
- salary = 300,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Criminals"
- })
- TEAM_TER = DarkRP.createJob("Terrorists ", {
- color = Color(0, 0, 0, 255),
- model = {"models/characters/osama_bin_laden.mdl"},
- description = [[You cause terror to the town. You may cause terror by using /advert terror every 30 mins.]],
- weapons = {},
- command = "Ter",
- max = 2,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Criminals"
- })
- TEAM_CITIZEN = DarkRP.createJob("Citizen", {
- color = Color(0, 0, 0, 255),
- model = {
- "models/player/Group03/female_06.mdl",
- "models/player/Group03/male_04.mdl"
- },
- description = [[Find a job and live your life!]],
- weapons = {},
- command = "citizen",
- max = 0,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Citizens"
- })
- TEAM_ADVGUN = DarkRP.createJob("Advanced Gun Dealer", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/terminator/slow_terminator.mdl"},
- description = [[You sell more advanced guns to the public.]],
- weapons = {},
- command = "ADVGUN",
- max = 2,
- salary = 200,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Dealers"
- })
- --[[---------------------------------------------------------------------------
- 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_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement