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:
- ---------------------------------------------------------------------------]]
- -----------------
- -- Civilian
- -----------------
- TEAM_DJ = DarkRP.createJob("DJ", {
- color = Color(0, 25, 255, 255),
- model = {"models/player/daftpunk/daft_gold.mdl",
- "models/player/daftpunk/daft_silver.mdl"},
- description = [[You blare out the hotest tunes known to man, you dont mess about!
- Build yourself a club and get shit done!]],
- weapons = {""},
- command = "dj",
- max = 2,
- salary = 250,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- category = "Civilian",
- })
- TEAM_HOBO = DarkRP.createJob("Hobo", {
- color = Color(80, 45, 0, 255),
- model = "models/player/corpse1.mdl",
- description = [[The lowest member of society. Everybody laughs at you.
- You have no home.
- Beg for your food and money
- Sing for everyone who passes to get money
- Make your own wooden home somewhere in a corner or outside someone else's door]],
- weapons = {"weapon_angryhoboswep_boot"},
- command = "hobo",
- max = 4,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- hobo = true,
- category = "Civilian",
- })
- TEAM_GUN = DarkRP.createJob("Gun Dealer", {
- color = Color(255, 140, 0, 255),
- model = "models/player/monk.mdl",
- description = [[A Gun Dealer is the only person who can sell guns to other people.
- Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
- weapons = {},
- command = "gundealer",
- max = 2,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Civilian",
- })
- TEAM_MEDIC = DarkRP.createJob("Medic", {
- color = Color(47, 79, 79, 255),
- model = "models/player/kleiner.mdl",
- description = [[With your medical knowledge you work to restore players to full health.
- Without a medic, people cannot be healed.
- Left click with the Medical Kit to heal other players.
- Right click with the Medical Kit to heal yourself.]],
- weapons = {"med_kit"},
- command = "medic",
- max = 3,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false,
- medic = true,
- category = "Civilian",
- })
- TEAM_FIGHT = DarkRP.createJob("Street Fighter", {
- color = Color(255, 76, 0, 255),
- model = "models/fzone96/johncena/johncena.mdl",
- description = [[You can fight at organized fighting events, these events will need to be created by a Fight Master!]],
- weapons = {"m9k_fists"},
- command = "streetfighter",
- max = 3,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Civilian",
- })
- TEAM_FIGHTM = DarkRP.createJob("Fight Master", {
- color = Color(206, 34, 44, 255),
- model = "models/fearless/don1.mdl",
- description = [[You can organize fighting events, take bets and make a fighting ring!]],
- weapons = {"m9k_coltpython"},
- command = "fightmaster",
- max = 1,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Civilian",
- })
- TEAM_FIGHTM = DarkRP.createJob("Security Guard", {
- color = Color(0, 10, 255, 255),
- model = {
- "models/player/guard_pack/guard_01.mdl",
- "models/player/guard_pack/guard_02.mdl"},
- description = [[You can be hired to protect peoples bases!]],
- weapons = {"m9k_g36"},
- command = "security",
- max = 1,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Civilian",
- })
- -----------------
- -- Goverment
- -----------------
- TEAM_MAYOR = DarkRP.createJob("Mayor", {
- color = Color(150, 20, 20, 255),
- model = "models/player/breen.mdl",
- description = [[The Mayor of the city creates laws to govern the city.
- If you are the mayor you may create and accept warrants.
- Type /wanted <name> to warrant a player.
- Type /jailpos to set the Jail Position.
- Type /lockdown initiate a lockdown of the city.
- Everyone must be inside during a lockdown.
- The cops patrol the area.
- /unlockdown to end a lockdown]],
- weapons = {},
- command = "mayor",
- max = 1,
- salary = 500,
- admin = 0,
- vote = true,
- hasLicense = false,
- mayor = true,
- category = "Goverment",
- })
- TEAM_POLICE = DarkRP.createJob("Police", {
- color = Color(37, 0, 186, 255),
- model = {
- "models/player/londoncop/londoncop_01.mdl",
- "models/player/londoncop/londoncop_02.mdl",
- "models/player/londoncop/londoncop_04.mdl",
- "models/player/londoncop/npc/londoncop_09_npc.mdl"
- },
- description = [[You need to enforce the law!.
- Read the laws and enforce them.
- Take orders from the Mayor and Swat.
- You cannot base, the PD is your home!]],
- weapons = {"arrest_stick","unarrest_stick","stunstick","weaponchecker","m9k_usp"},
- command = "police",
- max = 4,
- salary = 250,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- category = "Goverment",
- })
- TEAM_POLICE = DarkRP.createJob("Police Medic", {
- color = Color(37, 0, 186, 255),
- model = {
- "models/player/londoncop/londoncop_01.mdl",
- "models/player/londoncop/londoncop_02.mdl",
- "models/player/londoncop/londoncop_04.mdl",
- "models/player/londoncop/npc/londoncop_09_npc.mdl"},
- description = [[You need to enforce the law!.
- Read the laws and enforce them.
- Take orders from the Mayor and Swat.
- You cannot base, the PD is your home,
- Heal other officers in need!]],
- weapons = {"arrest_stick","unarrest_stick","stunstick","weaponchecker","m9k_usp","med_kit"},
- command = "policemedic",
- max = 2,
- salary = 275,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- category = "Goverment",
- })
- TEAM_POLICE = DarkRP.createJob("Police Chief", {
- color = Color(37, 0, 186, 255),
- model = {
- "models/player/londoncop/londoncop_01.mdl",
- "models/player/londoncop/londoncop_02.mdl",
- "models/player/londoncop/londoncop_04.mdl",
- "models/player/londoncop/npc/londoncop_09_npc.mdl"},
- description = [[You need to enforce the law!.
- Read the laws and enforce them.
- Give orders to the rest of the police force!.
- You cannot base, the PD is your home!]],
- weapons = {"arrest_stick","unarrest_stick","stunstick","weaponchecker","m9k_usp","m9k_g36"},
- command = "policechief",
- max = 1,
- salary = 500,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- category = "Goverment",
- })
- TEAM_POLICE = DarkRP.createJob("Swat Assualter", {
- color = Color(37, 0, 186, 255),
- model = "models/fearless/sru02.mdl",
- description = [[You are a Swat Assualter you deal with most small raids!]],
- weapons = {"m9k_usp","m9k_l85"},
- command = "swatassault",
- max = 1,
- salary = 500,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- category = "Goverment",
- })
- -----------------
- -- Criminal
- -----------------
- TEAM_THIEF = DarkRP.createJob("Thief", {
- color = Color(255, 122, 0, 255),
- model = "models/code_gs/robber/robberplayer.mdl",
- description = [[You are a Thief, you base and take part in illegal activites!]],
- weapons = {"m9k_luger","lockpick","keypad_cracker"},
- command = "thief",
- max = 8,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Criminal",
- })
- TEAM_WMAFIA = DarkRP.createJob("West Mafia Don", {
- color = Color(203, 237, 0, 255),
- model = "models/fearless/mafia02.mdl",
- description = [[You are the West Mafia Don, you control the West Mafia, give orders out to the Mafia mebers!]],
- weapons = {"m9k_an94","m9k_model627","lockpick","keypad_cracker"},
- command = "westdon",
- max = 1,
- salary = 300,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Criminal",
- })
- TEAM_EMAFIA = DarkRP.createJob("East Mafia Don", {
- color = Color(203, 237, 0, 255),
- model = "models/fearless/mafia04.mdl",
- description = [[You are the East Mafia Don, you control the East Mafia, give orders out to the Mafia mebers!]],
- weapons = {"m9k_an94","m9k_model627","lockpick","keypad_cracker"},
- command = "eastdon",
- max = 1,
- salary = 300,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Criminal",
- })
- TEAM_WMAFIA = DarkRP.createJob("West Mafia Mobster", {
- color = Color(193, 33, 33, 255),
- model = "models/fearless/mafia06.mdl",
- description = [[You are a West Mafia Mobster, you take orders from the West Mafia Don!]],
- weapons = {"m9k_model627","lockpick","keypad_cracker"},
- command = "westmob",
- max = 3,
- salary = 200,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Criminal",
- })
- TEAM_EMAFIA = DarkRP.createJob("East Mafia Mobster", {
- color = Color(193, 33, 33, 255),
- model = "models/fearless/mafia07.mdl",
- description = [[You are a East Mafia Mobster, you take orders from the East Mafia Don!]],
- weapons = {"m9k_model627","lockpick","keypad_cracker"},
- command = "eastmob",
- max = 3,
- salary = 200,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Criminal",
- })
- -----------------
- -- VIP
- -----------------
- TEAM_PTHIEF = DarkRP.createJob("Professional Thief", {
- color = Color(0, 209, 255, 255),
- model = {
- "models/player/pd2_chains_p.mdl",
- "models/player/pd2_dallas_p.mdl",
- "models/player/pd2_hoxton_p.mdl",
- "models/player/pd2_wolf_p.mdl"},
- description = [[You are A Professional Thief, you can now raid bigger and better bases thanks to your upgraded gear!]],
- weapons = {"m9k_m92beretta","m9k_m416","lockpick","prokeypadcracker"},
- command = "professionalthief",
- max = 10,
- salary = 500,
- customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "senior" or ply:GetNWString("usergroup") == "hadmin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
- CustomCheckFailMsg = "You are not a VIP",
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "VIP",
- })
- TEAM_VAPE = DarkRP.createJob("Vape God", {
- color = Color(47, 79, 79, 255),
- model = {"models/rottweiler/astronaut.mdl",},
- description = [[You rip the fattest vapes, chill and remeber to spread the word VAPE NATION!]],
- weapons = {"weapon_vape"},
- command = "vape",
- max = 1,
- salary = 250,
- customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "senior" or ply:GetNWString("usergroup") == "hadmin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
- CustomCheckFailMsg = "You are not a VIP",
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "VIP",
- })
- TEAM_SWAT = DarkRP.createJob("Swat Leader", {
- color = Color(37, 0, 186, 255),
- model = {"models/fearless/sru01.mdl",},
- description = [[You are the Swat Leader, you give orders and control the other Swat Members!]],
- weapons = {"weapon_cuff_elastic","m9k_m4a1","m9k_m92beretta"},
- command = "swatleader",
- max = 1,
- salary = 450,
- customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "senior" or ply:GetNWString("usergroup") == "hadmin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
- CustomCheckFailMsg = "You are not a VIP",
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "VIP",
- })
- TEAM_SWAT = DarkRP.createJob("Swat Sniper", {
- color = Color(37, 0, 186, 255),
- model = {"models/fearless/cr.mdl",},
- description = [[You are the Swat Sinper, you give assitance to the other Swat Members during raids!]],
- weapons = {"weapon_cuff_elastic","m9k_m92beretta","m9k_aw50"},
- command = "swatsniper",
- max = 4,
- salary = 300,
- customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "senior" or ply:GetNWString("usergroup") == "hadmin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
- CustomCheckFailMsg = "You are not a VIP",
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "VIP",
- })
- TEAM_SWAT = DarkRP.createJob("Swat Juggernaut", {
- color = Color(37, 0, 186, 255),
- model = {"models/juggernaut_player.mdl",},
- description = [[You are a Swat Juggernaut, you assist in the hardest of raids!]],
- weapons = {"weapon_cuff_elastic","m9k_remington870","m9k_ares_shrike","m9k_deagle"},
- command = "swatjuggernaut",
- max = 1,
- salary = 350,
- customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "senior" or ply:GetNWString("usergroup") == "hadmin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
- CustomCheckFailMsg = "You are not a VIP",
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "VIP",
- })
- TEAM_SUPPLY = DarkRP.createJob("Heavy Gun Dealer", {
- color = Color(255, 140, 0, 255),
- model = {"models/player/odessa.mdl",},
- description = [[You are a Heavy Gun Dealer, you sell heavy weapons to the public!]],
- weapons = {""},
- command = "heavygundealer",
- max = 3,
- salary = 350,
- customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "senior" or ply:GetNWString("usergroup") == "hadmin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
- CustomCheckFailMsg = "You are not a VIP",
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "VIP",
- })
- -----------------
- -- Custom Jobs
- -----------------
- TEAM_CUSTOM = DarkRP.createJob("Issac", {
- color = Color(255, 140, 0, 255),
- model = {"models/player/chuckymore/n7isaac.mdl",},
- description = [[Daggins' Custom Job!]],
- weapons = {"weapon_vape","weapon_cuff_elastic","weapon_gammashooter","m9k_val","m9k_m4a1","m9k_fal","m9k_l85","m9k_minigun","m9k_glock","m9k_spas12","m9k_intervention","m9k_m202","m9k_mp7"},
- command = "issac",
- max = 1,
- salary = 5000,
- customCheck = function(ply) return ply:SteamID() == "STEAM_0:0:57607348" end
- CustomCheckFailMsg = "You are not Daggins!",
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Custom",
- })
- -----------------
- -- Admin
- -----------------
- TEAM_ADMIN = DarkRP.createJob("Staff On Duty", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/anon/anon.mdl",},
- description = [[Protect the server from rule breakers!]],
- weapons = {"weapon_keypadchecker","arrest_stick","unarrest_stick","med_kit","weaponchecker"},
- command = "admin",
- max = 10,
- salary = 0,
- customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "trial-mod" or ply:GetNWString("usergroup") == "moderator" or ply:GetNWString("usergroup") == "junior-admin" or ply:GetNWString("usergroup") == "admin" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
- CustomCheckFailMsg = "You are not a Staff Member",
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Admin",
- })
- --[[---------------------------------------------------------------------------
- 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