Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --++++++++/* 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_DARTHVADER = DarkRP.createJob("Darth Vader", {
- color = Color(102, 97, 97, 255),
- model = "models/player/b4p/b4p_vader.mdl",
- description = [[You serve you supreme leader, Krayt, under the sith.]],
- weapons = {"weapon_lightsaber"},
- command = "darthvader",
- max = 1,
- salary = 10,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Sith",
- customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"Darth Vader") end,
- CustomCheckFailMsg = "You are not in the Whitelist!",
- })
- TEAM_COUNTDOOKU = DarkRP.createJob("Count Dooku", {
- color = Color(102, 97, 97, 255),
- model = "models/player/b4p/b4p_vader.mdl",
- description = [[You serve you supreme leader, Krayt, under the sith.]],
- weapons = {"weapon_lightsaber"},
- command = "countdooku",
- max = 1,
- salary = 10,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Sith",
- customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"Count Dooku") end,
- CustomCheckFailMsg = "You are not in the Whitelist!",
- })
- TEAM_DARTHSIDEOUS = DarkRP.createJob("Darth Sideous", {
- color = Color(102, 97, 97, 255),
- model = "models/player/emperor_palpatine.mdl",
- description = [[You serve you supreme leader, Krayt, under the sith.]],
- weapons = {"weapon_lightsaber"},
- command = "darthsideous",
- max = 1,
- salary = 10,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Sith",
- customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"Darth Sidous") end,
- CustomCheckFailMsg = "You are not in the Whitelist!",
- })
- TEAM_DARTHMAUL = DarkRP.createJob("Darth Maul", {
- color = Color(102, 97, 97, 255),
- model = "models/player/darth/maul.mdl",
- description = [[You serve you supreme leader, Krayt, under the sith.]],
- weapons = {"weapon_lightsaber"},
- command = "darthmaul",
- max = 1,
- salary = 10,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Sith",
- customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"Darth Maul") end,
- CustomCheckFailMsg = "You are not in the Whitelist!",
- })
- TEAM_GENERALGRIEVOUS = DarkRP.createJob("General Grievous", {
- color = Color(102, 97, 97, 255),
- model = "models/player/darth/maul.mdl",
- description = [[You serve you supreme leader, Krayt, under the sith.]],
- weapons = {"weapon_lightsaber"},
- command = "generalgrievous",
- max = 1,
- salary = 10,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Sith",
- customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"General Grievous") end,
- CustomCheckFailMsg = "You are not in the Whitelist!",
- })
- TEAM_SITHACOLYTE = DarkRP.createJob("Sith Acolyte", {
- color = Color(102, 97, 97, 255),
- model = "models/nate159/req/swtfu/sith_acolyte.md",
- description = [[You serve you supreme leader, Krayt, under the sith.]],
- weapons = {"weapon_lightsaber"},
- command = "sithacolyte",
- max = 5,
- salary = 10,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Sith",
- customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"Sith Acolyte") end,
- CustomCheckFailMsg = "You are not in the Whitelist!",
- })
- TEAM_DROID = DarkRP.createJob("Droid", {
- color = Color(219, 0, 255, 255),
- model = "models/player/sgg/starwars/battledroid.mdl",
- description = [[You server under General Grievous]],
- weapons = {"weapon_752_dc15a"},
- command = "droid",
- max = 10,
- salary = 10,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Sith",
- customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"Droid") end,
- CustomCheckFailMsg = "You are not in the Whitelist!",
- })
- --[[---------------------------------------------------------------------------
- Define which team joining players spawn into and what team you change to if demoted
- ---------------------------------------------------------------------------]]
- GAMEMODE.DefaultTeam = TEAM_CLONECADET
- --[[---------------------------------------------------------------------------
- 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