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_HITMAN = DarkRP.createJob("Hitman", {
- color = Color(0, 0, 0, 255),
- model = {
- "models/player/barney.mdl",
- },
- description = [[You are a Hitman. People give you cash to kill someone.
- However, use must use the hitman system or you are fail hitman.]],
- weapons = {"m9k_m24", "m9k_glock"},
- command = "hitman",
- max = 2,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_CUSTOM = AddExtraTeam("Pro Thief", {
- color = Color (255,0,0,255),
- model = {
- "models/player/Phoenix.mdl",
- "models//player/arctic.mdl"
- },
- description = [[...]],
- weapons = {"pro_lockpick_update", "keypad_cracker_pro"},
- command = "prothief",
- max = 4,
- salary = 20,
- admin = 0,
- maxpocket = 25,
- vote = false,
- haslicense = false,
- customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "donator" or ply:GetNWString("usergroup") == "admin" or ply:GetNWString("usergroup") == "superadmin" end,
- CustomCheckFailMsg = "This Job Is Donator Only!",
- })
- TEAM_THIEF = AddExtraTeam("Thief", {
- color = Color (200,0,0,255),
- model = {
- "models/player/Phoenix.mdl",
- "models//player/arctic.mdl"
- },
- description = [[...]],
- weapons = {"lockpick", "keypad_cracker"},
- command = "thief",
- max = 6,
- salary = 5,
- admin = 0,
- maxpocket = 20,
- vote = false,
- haslicense = false,
- })
- TEAM_CUSTOM = AddExtraTeam("Parkour", {
- color = Color (2,132,130,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/Female_07.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 = [[...]],
- weapons = {"climb_swep2"},
- command = "parkour",
- max = 6,
- salary = 5,
- admin = 0,
- maxpocket = 15,
- vote = false,
- haslicense = false,
- })
- TEAM_BLOODZM = AddExtraTeam("Bloodz Member", {
- color = Color (200,0,0,255),
- model = {
- "models/player/bloodz/slow_1.mdl",
- "models/player/bloodz/slow_3.mdl"
- },
- description = [[...]],
- weapons = {"m9k_glock"},
- command = "bloodzm",
- max = 4,
- salary = 10,
- admin = 0,
- maxpocket = 15,
- vote = false,
- haslicense = false,
- })
- TEAM_BLOODZL = AddExtraTeam("Bloodz Leader", {
- color = Color (200,0,0,255),
- model = {
- "models/player/bloodz/slow_2.mdl"
- },
- description = [[...]],
- weapons = {"m9k_glock"},
- command = "bloodzl",
- max = 1,
- salary = 10,
- admin = 0,
- maxpocket = 15,
- vote = false,
- haslicense = false,
- })
- TEAM_CRIPZM = AddExtraTeam("Cripz Member", {
- color = Color (200,0,0,255),
- model = {
- "models/player/cripz/slow_1.mdl",
- "models/player/cripz/slow_3.mdl"
- },
- description = [[...]],
- weapons = {"m9k_glock"},
- command = "cripzm",
- max = 4,
- salary = 10,
- admin = 0,
- maxpocket = 15,
- vote = false,
- haslicense = false,
- })
- TEAM_CRIPZL = AddExtraTeam("Cripz Leader", {
- color = Color (200,0,0,255),
- model = {
- "models/player/cripz/slow_2.mdl"
- },
- description = [[...]],
- weapons = {"m9k_glock"},
- command = "cripzl",
- max = 1,
- salary = 10,
- admin = 0,
- maxpocket = 15,
- vote = false,
- haslicense = 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_CITIZEN)
Advertisement
Add Comment
Please, Sign In to add comment