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_CITIZEN = DarkRP.createJob("Citizen", {
- color = Color(0, 255, 71, 255),
- model = {
- "models/player/Group01/Female_01.mdl",
- "models/player/Group01/Female_02.mdl",
- "models/player/Group01/Female_03.mdl",
- "models/player/Group01/Female_04.mdl",
- "models/player/Group01/Female_06.mdl",
- "models/player/group01/male_01.mdl",
- "models/player/Group01/Male_02.mdl",
- "models/player/Group01/male_03.mdl",
- "models/player/Group01/Male_04.mdl",
- "models/player/Group01/Male_05.mdl",
- "models/player/Group01/Male_06.mdl",
- "models/player/Group01/Male_07.mdl",
- "models/player/Group01/Male_08.mdl",
- "models/player/Group01/Male_09.mdl"
- },
- description = [[The Citizen is the most basic level of society you can hold besides being a hobo. You have no specific role in city life.]],
- weapons = {"weapon_physgun","gmod_tool","keys","itemstore_pickup"},
- command = "citizen",
- max = 0,
- salary = 200,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Citizens",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(150)
- ply:SetHealth(150)
- ply:SetArmor(0)
- end,
- })
- TEAM_GUARD = DarkRP.createJob("Guard", {
- color = Color(203, 23, 219, 255),
- model = {
- "models/bigsmoke/smoke.mdl"
- },
- description = [[Guard your person who highers who.]],
- weapons = {"weapon_physgun","gmod_tool","keys","itemstore_pickup","m9k_m416"},
- command = "Guard",
- max = 0,
- salary = 200,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Citizens",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(150)
- ply:SetHealth(350)
- ply:SetArmor(20)
- end,
- })
- TEAM_LIGHTDEALER = DarkRP.createJob("Light Gun Dealer", {
- color = Color(255, 193, 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 = {"weapon_physgun","gmod_tool","keys","itemstore_pickup"},
- command = "Light ",
- max = 3,
- salary = 550,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Gun Dealer",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(300)
- ply:SetHealth(300)
- ply:SetArmor(0)
- end,
- })
- TEAM_HEAVYDEALER = DarkRP.createJob("Heavy Gun Dealer", {
- color = Color(255, 193, 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 = {"weapon_physgun","gmod_tool","keys","itemstore_pickup"},
- command = "Heavy",
- max = 3,
- salary = 550,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Gun Dealer",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(300)
- ply:SetHealth(300)
- ply:SetArmor(0)
- end,
- customCheck = function(ply) return
- table.HasValue({"Owner", "Head of staff", "superadmin", "admin", "Vip", "Junior Admin", "Senior Admin"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This is VIP only!",
- })
- TEAM_BLACKMARKETDEALER = DarkRP.createJob("Black Market Dealer", {
- color = Color(255, 193, 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 = {"weapon_physgun","gmod_tool","keys","itemstore_pickup"},
- command = "Black",
- max = 3,
- salary = 550,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Gun Dealer",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(300)
- ply:SetHealth(300)
- ply:SetArmor(0)
- end,
- customCheck = function(ply) return
- table.HasValue({"Owner", "Head of staff", "superadmin", "admin", "Vip", "Junior Admin", "Senior Admin"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This is VIP only!",
- })
- TEAM_HOBO = DarkRP.createJob("Hobo", {
- color = Color(80, 45, 0, 255),
- model = "models/jessev92/player/l4d/m9-hunter.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_physgun","weapon_bugbait","gmod_tool","itemstore_pickup"},
- command = "hobo",
- max = 4,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- hobo = true,
- category = "Citizens",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(350)
- ply:SetHealth(300)
- ply:SetArmor(0)
- end,
- })
- TEAM_KIDNAPPER = DarkRP.createJob("Kidnapper", {
- color = Color(0, 0, 0, 255),
- model = {"models/darksouls/characters/hollow_thief.mdl"},
- description = [[Kidnappers are nobdy and will be nobdy the only the cops are aware of the kidnappers and trying to hide them from the town ]],
- weapons = {"weapon_physgun","gmod_tool","itemstore_pickup","keys", "csgo_gut_rustcoat", "weapon_r_baton"},
- command = "Kidnapp",
- max = 3,
- salary = 400,
- admin = 0,
- vote = true,
- hasLicense = false,
- candemote = true,
- category = "Criminals",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(370)
- ply:SetHealth(370)
- ply:SetArmor(0)
- end,
- })
- TEAM_THIEF = DarkRP.createJob("Thief", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/wisay/thief.mdl"},
- description = [[Thief are people who ran out of ways to make money so they do not follow the rules by the mayor ]],
- weapons = {"weapon_physgun","gmod_tool","keys","itemstore_pickup", "m9k_hk45","pickpocket","lockpick"},
- command = "Thiefsz",
- max = 6,
- salary = 400,
- admin = 0,
- vote = true,
- hasLicense = false,
- candemote = true,
- category = "Criminals",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(370)
- ply:SetHealth(370)
- ply:SetArmor(0)
- end,
- })
- TEAM_HACKER = DarkRP.createJob("Hacker", {
- color = Color(173, 173, 173, 255),
- model = {"models/player/lulsec.mdl"},
- description = [[Thief are people who ran out of ways to make money so they do not follow the rules by the mayor ]],
- weapons = {"weapon_physgun","gmod_tool","keys","itemstore_pickup", "m9k_ragingbull", "keypad_cracker"},
- command = "HackerSZ",
- max = 3,
- salary = 400,
- admin = 0,
- vote = true,
- hasLicense = false,
- candemote = true,
- category = "Criminals",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(370)
- ply:SetHealth(370)
- ply:SetArmor(0)
- end,
- })
- TEAM_POLICE = DarkRP.createJob("Police Officer", {
- color = Color(34, 31, 245, 255),
- model = {
- "models/kerry/player/police_chicago_01.mdl",
- "models/kerry/player/police_chicago_02.mdl",
- "models/kerry/player/police_chicago_03.mdl",
- "models/kerry/player/police_chicago_04.mdl",
- "models/kerry/player/police_chicago_05.mdl",
- "models/kerry/player/police_chicago_06.mdl",
- "models/kerry/player/police_chicago_07.mdl",
- "models/kerry/player/police_chicago_08.mdl",
- "models/kerry/player/police_chicago_09.mdl"
- },
- description = [[The Police is the law in forcer of the Police officer.
- Coordinate the police force to enforce law in the city.
- Hit a player with arrest baton to put them in jail.
- Bash a player with a stunstick and they may learn to obey the law.
- The Battering Ram can break down the door of a criminal, with a warrant for his/her arrest.
- Type /wanted <name> to alert the public to the presence of a criminal]],
- weapons = {"weapon_physgun", "gmod_tool", "itemstore_pickup","keys", "unarrest_stick", "arrest_stick", "stunstick", "m9k_m4a1", "m9k_glock"},
- command = "POLICEOFFC",
- max = 6,
- salary = 400,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Police",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(400)
- ply:SetHealth(400)
- ply:SetArmor(50)
- end,
- })
- TEAM_MAYORSGUARD = DarkRP.createJob("Mayors Guard", {
- color = Color(34, 31, 245, 255),
- model = {
- "models/player/smith.mdl"
- },
- description = [[Guard the Mayor dont let anyone hurt him or her!]],
- weapons = {"weapon_physgun", "gmod_tool","keys", "itemstore_pickup", "unarrest_stick", "arrest_stick", "stunstick", "weapon_combineshield", "m9k_scar", "m9k_remington870"},
- command = "Guardpolice",
- max = 2,
- salary = 400,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Police",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(450)
- ply:SetHealth(450)
- ply:SetArmor(50)
- end,
- })
- TEAM_RIOTPOLICE = DarkRP.createJob("Roit Police", {
- color = Color(34, 31, 245, 255),
- model = {
- "models/player/guard_pack/guard_01.mdl",
- "models/player/guard_pack/guard_02.mdl",
- "models/player/guard_pack/guard_03.mdl",
- "models/player/guard_pack/guard_04.mdl",
- "models/player/guard_pack/guard_09.mdl",
- "models/player/guard_pack/guard_07.mdl"
- },
- description = [[The Police is the law in forcer of the Police officer.
- Coordinate the police force to enforce law in the city.
- Hit a player with arrest baton to put them in jail.
- Bash a player with a stunstick and they may learn to obey the law.
- The Battering Ram can break down the door of a criminal, with a warrant for his/her arrest.
- Type /wanted <name> to alert the public to the presence of a criminal]],
- weapons = {"weapon_physgun", "gmod_tool","keys", "itemstore_pickup", "unarrest_stick", "arrest_stick", "stunstick", "weapon_riotshield", "m9k_browningauto5", "m9k_deagle"},
- command = "riotpolice",
- max = 4,
- salary = 400,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Police",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(450)
- ply:SetHealth(450)
- ply:SetArmor(50)
- end,
- })
- TEAM_POLICEGUARD = DarkRP.createJob("Mayor", {
- color = Color(34, 85, 85, 255),
- model = {"models/fearless/mayor1.mdl",
- "models/fearless/mayor2.mdl"
- },
- description = [[TThe 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]],
- weapons = {"weapon_physgun", "gmod_tool","keys", "itemstore_pickup", "unarrest_stick", "arrest_stick", "stunstick", "m9k_deagle"},
- command = "Mayor",
- max = 1,
- salary = 503,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- category = "Police",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(400)
- ply:SetHealth(500)
- ply:SetArmor(30)
- end,
- })
- TEAM_EML_COOK = DarkRP.createJob("Meth Cook", {
- color = Color(0, 128, 255, 255),
- model = {
- "models/agent_47/agent_47.mdl",
- "models/player/voikanaa/snoop_dogg.mdl"},
- description = [[The lowest person of crime.
- A meth cook generally works for the Mobboss who runs the crime family.]],
- weapons = {"weapon_physgun", "gmod_tool","keys", "itemstore_pickup"},
- command = "methcook",
- max = 3,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false
- candemote = true,
- category = "Criminals",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(370)
- ply:SetHealth(370)
- ply:SetArmor(0)
- end,
- })
- TEAM_MASTERTHIEF = AddExtraTeam("Master Thief", {
- color = Color(255, 0, 0, 255),
- model = "models/player/arctic.mdl",
- description = [[As a Master Thief you will break into peoples
- houses steal there items leave and try not to get
- caught by the police you can not mug people on the
- streets!
- Raid = Yes
- Job = V.I.P ]],
- weapons = {"hl2_combo_fists","pro_lockpick","m9k_deagle","m9k_m16a4_acog","m9k_m16a4_acog","m9k_famas"},
- command = "mastertheif",
- max = 4,
- salary = 75,
- admin = 1,
- vote = false,
- hasLicense = false
- candemote = true,
- category = "Criminals",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(370)
- ply:SetHealth(370)
- ply:SetArmor(0)
- end,
- customCheck = function(ply) return
- table.HasValue({"Owner", "Head of staff", "superadmin", "admin", "Vip", "Junior Admin", "Senior Admin"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This is VIP only!",
- })
- TEAM_GANG = AddExtraTeam("Gangster", {
- color = Color(75, 75, 75, 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/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 = [[The lowest person of crime.
- A gangster generally works for the Mobboss who runs the crime family.
- The Mobboss sets your agenda and you follow it or you might be punished.]],
- weapons = {"m9k_usp", "lockpick"},
- command = "gangster",
- max = 7,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = false
- candemote = true,
- category = "Criminals",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(370)
- ply:SetHealth(370)
- ply:SetArmor(0)
- end,
- })
- TEAM_MOB = AddExtraTeam("Mob boss", {
- color = Color(25, 25, 25, 255),
- model = "models/player/gman_high.mdl",
- description = [[The Mobboss is the boss of the criminals in the city.
- With his power he coordinates the gangsters and forms an efficent crime
- organization.
- He has the ability to break into houses by using a lockpick.
- The Mobboss also can unarrest you.]],
- weapons = {"lockpick", "unarrest_stick","m9k_deagle","m9k_m4a1"},
- command = "mobboss",
- max = 1,
- salary = 60,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Criminals",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(370)
- ply:SetHealth(370)
- ply:SetArmor(0)
- end,
- })
- TEAM_MOB= AddExtraTeam("Hitman", {
- color = Color(84, 69, 0, 298),
- model = "models/player/guerilla.mdl",
- description = [[Your a hitman you are weak compared to you master the Elite Hitmen you cant do what they can and don't have the skills you spawn with the weapons ether ]],
- weapons = {"m9k_usp","m9k_intervention"},
- command = "Hitman",
- max = 5,
- salary = 65,
- admin = 0,
- vote = true,
- hasLicense = false
- candemote = true,
- category = "Criminals",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(380)
- ply:SetHealth(380)
- ply:SetArmor(0)
- end,
- customCheck = function(ply) return
- table.HasValue({"Owner", "Head of staff", "superadmin", "admin", "Vip", "Junior Admin", "Senior Admin"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This is VIP only!",
- })
- TEAM_STAFF = DarkRP.createJob("Staff On Duty", {
- color = Color(0, 239, 255, 255),
- model = {"models/player/anon/anon.mdl"},
- description = [[Help The Players]],
- weapons = {"weapon_arc_atmcard","weapon_keypadchecker","unarrest_stick","arrest_stick","door_ram",},
- command = "staff",
- max = 100,
- salary = 0,
- admin = 1,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Citizens",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(380)
- ply:SetHealth(380)
- ply:SetArmor(0)
- end,
- customCheck = function(ply) return
- table.HasValue({"Owner", "Head of staff", "superadmin", "admin", "Vip", "Junior Admin", "Senior Admin"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This is VIP only!",
- })
- --[[---------------------------------------------------------------------------
- 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