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 your custom jobs under the following line:
- ---------------------------------------------------------------------------]]
- TEAM_POLICE = DarkRP.createJob("Civil Protection", {
- color = Color(224, 224, 224),
- model = {"models/player/police.mdl"},
- description = [[You are a Civil Protection Cop. Arrest people who are doing things illegal and make sure the Mayor is protected at all times. Do not RDA!!]],
- weapons = {"m9k_glock", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "pocket", "keys", "darkrp_handcuffs"},
- command = "cp",
- max = 6,
- salary = 30,
- admin = 0,
- vote = true,
- hasLicense = true,
- category = "Civil Protection"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end -- The extra check function. Enter nil or nothing to not have an extra check
- })
- TEAM_DOGE = DarkRP.createJob("Pet", {
- color = Color(224, 224, 224),
- model = {"models/doge_player/doge_player.mdl"},
- description = [[You are a Pet. You bark at people and if someone hits you, you bite them to death You cant base unless with someone else. Pets are not allowed guns.]],
- weapons = {"weapon_dogswep", "keys", "pocket"},
- command = "pet",
- max = 5,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_PDUBS = DarkRP.createJob("Master Lemon", {
- color = Color(224, 224, 224),
- model = {"models/_TailS_ Models/Characters/Sonic Heroes/Sonic/Sonic.mdl"},
- description = [[I am the king. Bow down to me!]],
- weapons = {"pocket", "keys", "staff_lockpick", "weapon_speedhack", "ttt_awp_dragonlore"},
- command = "masterlemon",
- max = 1,
- salary = 0,
- admin = 2,
- vote = false,
- hasLicense = true,
- category = "Admin",
- customCheck = function(ply) return ply:GetUserGroup() == "owner" end
- CustomCheckFailMsg = "You do not have the required usergroup!"
- })
- TEAM_BLACKMARKET = DarkRP.createJob("Black Market Dealer", {
- color = Color(224, 224, 224),
- model = {"models/player/eli.mdl"},
- description = [[You are a black market dealer. You sell illegal explosives and weapons. You are AOS so stay hidden.]],
- weapons = {"keys", "pocket"},
- command = "blackmarketdealer",
- max = 2,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Criminals"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_STAFF = DarkRP.createJob("Staff on Duty", {
- color = Color(224, 224, 224),
- model = {"models/player/anon.mdl"},
- description = [[Staff job.]],
- weapons = {"weapon_keypadchecker", "arrest_stick", "door_ram", "unarrest_stick", "keys", "pocket", "staff_lockpick", "weapon_speedhack",},
- command = "admin",
- max = 0,
- salary = 1000,
- admin = 1,
- vote = false,
- hasLicense = true,
- category = "Admin",
- customCheck = function(ply) return ply:GetUserGroup() == "admin" == "superadmin" end -- The extra check function. Enter nil or nothing to not have an extra check
- CustomCheckFailMsg = "You do not have the required usergroup!"
- })
- TEAM_GUN = DarkRP.createJob("Gun Dealer", {
- color = Color(224, 224, 224),
- model = {"models/player/monk.mdl"},
- description = [[You are a gun dealer. You provide people with weapons. You must make a gun shop and sell weapons. Gun dealers can not raid or counter-raid.]],
- weapons = {"m9k_hk45", "keys", "pocket"},
- command = "gundealer",
- max = 2,
- salary = 30,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Citizens"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_THIEF = DarkRP.createJob("Thief", {
- color = Color(224, 224, 224),
- model = {"models/player/phoenix.mdl"},
- description = [[You are a thief. You steal other peoples stuff without getting caught.]],
- weapons = {"lockpick", "keypad_cracker", "keys", "pocket"},
- command = "thief",
- max = 8,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Criminals"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_HOBO = DarkRP.createJob("Hobo", {
- color = Color(224, 224, 224),
- model = {"models/player/corpse1.mdl"},
- description = [[You are a hobo. You have no home and you beg for money on the streets. You can't Build inside homes or base, but you can build stuff outside.]],
- weapons = {"fists", "pocket", "keys", "bugbait"},
- command = "hobo",
- max = 5,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_MEDIC = DarkRP.createJob("Medic", {
- color = Color(224, 224, 224),
- model = {"models/player/medic07.mdl"},
- description = [[You are a medic. You go around town healing people who need it, or if you want, create a hospital. You are allowed to make people pay for health.]],
- weapons = {"med_kit", "keys", "pocket"},
- command = "medic",
- max = 2,
- salary = 30,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_CITIZEN = DarkRP.createJob("Citizen", {
- color = Color(224, 224, 224),
- model = {"models/player/Group01/female_01.mdl", "models/player/Group01/male_07.mdl"},
- description = [[You are a citizen. You are the population of the city, who make homes and comfort themselves as the city does its things. You can't raid, but you can counter-raid.]],
- weapons = {"keys", "pocket"},
- command = "citizen",
- max = 0,
- salary = 30,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_CHIEF = DarkRP.createJob("Civil Protection Chief", {
- color = Color(224, 224, 224),
- model = {"models/player/combine_soldier.mdl"},
- description = [[You are the police Chief! You command the police team and guide them to their job under the command of the mayor!]],
- weapons = {"m9k_tec9", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "pocket", "m9k_hk45", "keys"},
- command = "cpchief",
- max = 1,
- salary = 30,
- admin = 0,
- vote = true,
- hasLicense = true,
- category = "Civil Protection"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_MAYOR = DarkRP.createJob("Mayor", {
- color = Color(224, 224, 224),
- model = {"models/player/breen.mdl"},
- description = [[You are the mayor! You make the rules of this town and make sure people are doing their job. You command the whole police force and they are there to protect you.]],
- weapons = {"keys", "m9k_deagle", "pocket",},
- command = "mayor",
- max = 1,
- salary = 30,
- admin = 0,
- vote = true,
- hasLicense = true,
- category = "Civil Protection"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_HITMAN = DarkRP.createJob("Hitman", {
- color = Color(224, 224, 224),
- model = {"models/player/leet.mdl"},
- description = [[You are a hitman. You get payed for completing hits killing players that you have been asked to kill.]],
- weapons = {"keys", "m9k_deagle", "pocket"},
- command = "hitman",
- max = 2,
- salary = 30,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Criminals"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_KIDNAPPER = DarkRP.createJob("Kidnapper", {
- color = Color(224, 224, 224),
- model = {"models/player/hostage/hostage_02.mdl", "models/player/hostage/hostage_04.mdl"},
- description = [[You are a kidnapper. You kidnap people without them looking and hold them and take their money, or advert a randsom for them! Mwahahahahaa!!]],
- weapons = {"keys", "weapon_cuff_rope", "pocket", "weapon_cuff_plastic"},
- command = "kidnapper",
- max = 2,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Criminals"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_LUKE = DarkRP.createJob("Luke Skywalker", {
- color = Color(224, 224, 224),
- model = {"models/player/luke_skywalker.mdl"},
- description = [[You are Luke Skywalker. You must kill your dad and save the city against him.]],
- weapons = {"keys", "weapon_lightsaber", "pocket"},
- command = "lukeskywalker",
- max = 1,
- salary = 30,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Heroes and Villains"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_DARTHVADER = DarkRP.createJob("Darth Vader", {
- color = Color(224, 224, 224),
- model = {"models/player/darth_vader.mdl"},
- description = [[You are Darth Vader. You oppose your son, Luke. You must kill him.]],
- weapons = {"keys", "weapon_lightsaber", "pocket"},
- command = "darthvader",
- max = 1,
- salary = 30,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Heroes and Villains"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_SPEEDSTER = DarkRP.createJob("The Flash", {
- color = Color(224, 224, 224),
- model = {"models/dusty/playermodels/flash/flash.mdl"},
- description = [[You are the Flash. You stop crimes in action using your super speeds and agility.]],
- weapons = {"keys", "weapon_speedhack", "pocket", "fists"},
- command = "flash",
- max = 1,
- salary = 30,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Heroes and Villains"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_CLOAKER = DarkRP.createJob("Cloaker", {
- color = Color(224, 224, 224),
- model = {"models/mark2580/payday2/pd2_cloaker_player.mdl"},
- description = [[You are a cloaker. You go invisible and sneak into bases unseen.]],
- weapons = {"keys", "invisibility_cloak", "pocket", "m9k_mp7", "lockpick", "keypad_cracker"},
- command = "cloaker",
- max = 2,
- salary = 30,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "VIP",
- customCheck = function(ply) return ply:GetUserGroup() == "vip" end -- The extra check function. Enter nil or nothing to not have an extra check
- CustomCheckFailMsg = "You do not have the required usergroup!"
- })
- TEAM_PROTHIEF = DarkRP.createJob("Pro Thief", {
- color = Color(224, 224, 224),
- model = {"models/player/guerilla.mdl"},
- description = [[You are a Pro Thief. You steal other people's stuff without getting caught, but this time you have better skills to it!]],
- weapons = {"keys", "pocket", "prokeypadcracker", "pro_lockpick"},
- command = "prothief",
- max = 4,
- salary = 30,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "VIP",
- customCheck = function(ply) return ply:GetUserGroup() == "vip" end -- The extra check function. Enter nil or nothing to not have an extra check
- CustomCheckFailMsg = "You do not have the required usergroup!"
- })
- TEAM_SWAT = DarkRP.createJob("SWAT", {
- color = Color(224, 224, 224),
- model = {"models/player/swat.mdl"},
- description = [[You are a SWAT. You protect the city along with the other Civil Protection, but you are certified to have alot more skills.]],
- weapons = {"keys", "pocket", "m9k_vector", "arrest_stick", "unarrest_stick", "stunstick", "darkrp_handcuffs", "weaponchecker", "door_ram"},
- command = "swat",
- max = 3,
- salary = 30,
- admin = 0,
- vote = true,
- hasLicense = false,
- category = "Civil Protection"
- customCheck = function(ply) return ply:GetUserGroup() == "vip" end
- })
- TEAM_HOTEL = DarkRP.createJob("Hotel Manager", {
- color = Color(224, 224, 224),
- model = {"models/player/gman_high.mdl"},
- description = [[You are a Hotel Manager. You make money by making people pay to live in a apartment.]],
- weapons = {"keys", "pocket"},
- command = "hotelmanager",
- max = 1,
- salary = 30,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_BLOODZLEADER = DarkRP.createJob("Bloodz Leader", {
- color = Color(224, 224, 224),
- model = {"models/player/bloodz/slow_1.mdl"},
- description = [[You are the Bloodz leader. You lead Bloodz and have gang wars with Crispz. /advert gangwar]],
- weapons = {"keys", "pocket", "m9k_deagle"},
- command = "bloodzleader",
- max = 1,
- salary = 15,
- admin = 0,
- vote = true,
- hasLicense = false,
- category = "Criminals"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_CRISPZLEADER = DarkRP.createJob("Crispz Leader", {
- color = Color(224, 224, 224),
- model = {"models/player/crispz/slow_1.mdl"},
- description = [[You are the Crispz leader. You lead Crispz and have gang wars with Bloodz. /advert gangwar]],
- weapons = {"keys", "pocket", "m9k_deagle"},
- command = "crispzleader",
- max = 1,
- salary = 15,
- admin = 0,
- vote = true,
- hasLicense = false,
- category = "Criminals"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_BLOODZMEMBER = DarkRP.createJob("Bloodz Member", {
- color = Color(224, 224, 224),
- model = {"models/player/bloodz/slow_2.mdl"},
- description = [[You are a member of Bloodz. You base with the rest of Bloodz and help in gang wars between you and Crispz.]],
- weapons = {"keys", "pocket"},
- command = "bloodzmember",
- max = 5,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Criminals"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_CRISPZMEMBER = DarkRP.createJob("Crispz Member", {
- color = Color(224, 224, 224),
- model = {"models/player/crispz/slow_2.mdl"},
- description = [[You are a member of Crispz. You base with the rest of Crispz and help in gang wars between you and Bloodz.]],
- weapons = {"keys", "pocket"},
- command = "crispzmember",
- max = 1,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Criminals"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- TEAM_METH = DarkRP.createJob("Meth Cook", {
- color = Color(224, 224, 224),
- model = {"models/player/kleiner.mdl"},
- description = [[You are a Meth Cook. You make meth and sell it for money.]],
- weapons = {"keys", "pocket"},
- command = "methcook",
- max = 8,
- salary = 30,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Criminals"
- customCheck = function(ply) return ply:GetUserGroup() == "nil" end
- })
- --[[---------------------------------------------------------------------------
- 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_SWAT]
- [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