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_POLICE = DarkRP.createJob("Police Officer", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/Police.mdl"},
- description = [[You are a police officer. You have to enforce the laws.]],
- weapons = {"weapon_cuff_police", "m9k_m92beretta","weaponchecker", "arrest_stick", "stunstick", "unarrest_stick"},
- command = "police",
- max = 5,
- salary = 100,
- admin = 0,
- vote = true,
- hasLicense = false,
- candemote = false,
- category = "Civil Protection",
- PlayerSpawn = function(ply)
- ply:SetHealth(100)
- ply:SetMaxHealth(100)
- end,
- })
- TEAM_CHIEF = DarkRP.createJob("Police Chief", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/Combine_Soldier.mdl"},
- description = [[You are a police officer. You have to enforce the laws.]],
- weapons = {"weapon_cuff_police", "m9k_scoped_taurus", "weaponchecker", "arrest_stick", "stunstick", "unarrest_stick"},
- command = "chief",
- max = 1,
- salary = 115,
- admin = 0,
- vote = true,
- hasLicense = false,
- candemote = false,
- category = "Civil Protection",
- PlayerSpawn = function(ply)
- ply:SetHealth(115)
- ply:SetMaxHealth(115)
- end,
- })
- TEAM_MOB = DarkRP.createJob("Hitman", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/Eli.mdl"},
- description = [[A hitman.]],
- weapons = {"m9k_aw50", },
- command = "hitman",
- max = 3,
- salary = 115,
- admin = 0,
- vote = true,
- hasLicense = false,
- candemote = false,
- PlayerSpawn = function(ply)
- ply:SetHealth(100)
- ply:SetMaxHealth(100)
- end,
- })
- TEAM_ASSASSIN = DarkRP.createJob("Assassin (VIP)", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/edward_kenway.mdl"},
- description = [[A hitman.]],
- weapons = {"m9k_aw50", "climb_swep2", "parkourmod", "weapon_thehiddenblade"},
- command = "assassin",
- max = 3,
- salary = 115,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- PlayerSpawn = function(ply)
- ply:SetHealth(115)
- ply:SetMaxHealth(115)
- end,
- })
- TEAM_AOD = DarkRP.createJob("Admin on Duty", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/Barney.mdl"},
- description = [[Admins only]],
- weapons = {"weapon_keypadchecker", "door_ram"},
- command = "aod",
- max = 10,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Other",
- })
- TEAM_MOD = DarkRP.createJob("Mod on Duty", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/Barney.mdl"},
- description = [[Mods only]],
- weapons = {"door_ram", "weapon_keypadchecker"},
- command = "mod",
- max = 10,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Other",
- })
- TEAM_OOD = DarkRP.createJob("Owner on Duty", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/Barney.mdl"},
- description = [[Owner only]],
- weapons = {},
- command = "ood",
- max = 1,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Other",
- })
- TEAM_HOBOLORD = DarkRP.createJob("Hobo Lord", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/gman_high.mdl"},
- description = [[Your the king of all hobos. You can mug]],
- weapons = {"weapon_bugbait", "gm_pickpocket"},
- command = "hobolord",
- max = 1,
- salary = 1,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- })
- TEAM_FCH = DarkRP.createJob("Fight Club Host", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/gman_high.mdl"},
- description = [[Your the host of Fight club you attract people to bet on fighters. Your fighters are FightClubMembers]],
- weapons = {"weapon_fists", "weapon_medkit"},
- command = "fch",
- max = 1,
- salary = 100,
- admin = 0,
- vote = yes,
- hasLicense = false,
- candemote = false,
- })
- TEAM_FCM = DarkRP.createJob("Fight Club Member", {
- color = Color(255, 0, 0, 255),
- model = {""},
- description = [[Your the Fight Club Hosts pawn you fight for money]],
- weapons = {"waepon_fists",},
- command = "",
- max = 5,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- })
- TEAM_MTHIEF = DarkRP.createJob("Master Thief", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/white1.mdl"},
- description = [[.]],
- weapons = {"pro_lockpick_update", "m9k_mp40"},
- command = "mthief",
- max = 2,
- salary = 200,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- })
- TEAM_HACKER = DarkRP.createJob("Hacker", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/Kleiner.mdl"},
- description = [[Your a hacker you hack atms]],
- weapons = {"weapon_arc_atmhack",},
- command = "hacker",
- max = 2,
- salary = 150,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- })
- TEAM_THIEF = DarkRP.createJob("Thief", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/black2.mdl"},
- description = [[Your a thief you go and mug people. /advert Raid or Mug]],
- weapons = {"lockpick", "m9k_colt1911", "keypad_cracker"},
- command = "thief",
- max = 5,
- salary = 120,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- })
- TEAM_TACHANKY = DarkRP.createJob("Tachanky Kang The God", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/m9u2.mdl"},
- description = [[fookoff]],
- weapons = {"pro_lockpick_update", "m9k_usp", "keypad_cracker", "m9k_m60", "weapon_policeshield"},
- command = "tachanka",
- max = 1,
- salary = 120,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- })
- TEAM_BLACK = DarkRP.createJob("Black Marker Dealer", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/guerilla.mdlS"},
- description = [[fookoff]],
- weapons = {},
- command = "bmd",
- max = 3,
- salary = 120,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- })
- TEAM_BLACK = DarkRP.createJob("Black Marker Dealer", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/guerilla.mdlS"},
- description = [[fookoff]],
- weapons = {},
- command = "bmd",
- max = 3,
- salary = 120,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- })
- --[[---------------------------------------------------------------------------
- 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)
- DarkRP.addHitmanTeam(TEAM_ASSASSIN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement