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_SUPERADMIN = DarkRP.createJob("Superadmin", {
- color = Color(204, 0, 0),
- model = {
- "models/player/combine_super_soldier.mdl",
- },
- description = [[This is a Superadmin Job]],
- weapons = {"pocket", "keys", "weapon_physgun","weapon_physcannon"},
- command = "Superadmin",
- max = 0, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
- salary = 0,
- admin = 2,
- vote = false,
- hasLicense = true,
- })
- TEAM_ADMIN = DarkRP.createJob("Admin", {
- color = Color(204, 0, 0),
- model = {
- "models/player/combine_super_soldier.mdl",
- },
- description = [[This is a Admin Job]],
- weapons = {"pocket", "keys", "weapon_physgun","weapon_physcannon"},
- command = "Admin",
- max = 0, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
- salary = 0,
- admin = 1,
- vote = false,
- hasLicense = true,
- })
- TEAM_CP = DarkRP.createJob("Civil Protection", {
- color = Color(51, 51, 255),
- model = {
- "models/player/uk_police/uk_police_01.mdl",
- "models/player/uk_police/uk_police_02.mdl",
- "models/player/uk_police/uk_police_03.mdl",
- "models/player/uk_police/uk_police_04.mdl",
- "models/player/uk_police/uk_police_05.mdl",
- "models/player/uk_police/uk_police_06.mdl",
- "models/player/uk_police/uk_police_07.mdl",
- "models/player/uk_police/uk_police_08.mdl",
- "models/player/uk_police/uk_police_09.mdl",
- },
- description = [[This is a Civil Protection Job]],
- weapons = {"stunstick", "pocket", "keys", "weapon_physgun", "weapon_physcannon", "fas2_p226", "arrest_stick", "unarrest_stick", "door_ram", "weaponchecker"},
- command = "Cp",
- max = 10, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
- salary = 100,
- admin = 0,
- vote = true,
- hasLicense = true,
- chief = true,
- })
- TEAM_MAYOR = DarkRP.createJob("Mayor", {
- color = Color(51, 51, 255),
- model = {
- "models/player/breen.mdl",
- },
- description = [[This is a Mayor job]],
- weapons = {"pocket", "keys", "weapon_physgun", "weapon_physcannon", "fas2_p226", "unarrest_stick"},
- command = "Mayor",
- max = 1, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
- salary = 1000,
- admin = 0,
- vote = true,
- hasLicense = true,
- mayor = true,
- })
- TEAM_BOUNTYHUNTER = DarkRP.createJob("Bounty hunter", {
- color = Color(51, 51, 255),
- model = {
- "models/hgn/swrp/swrp/mandalorian_bobafett.mdl",
- "models/hgn/swrp/swrp/mandalorian_bobafett_02.mdl",
- },
- description = [[This is a Bounty Hunter Job]],
- weapons = {"pocket", "keys", "weapon_physgun", "weapon_physcannon", "csgo_karambit","fas2_p226"},
- command = "bountyhunter",
- max = 5, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
- salary = 250,
- admin = 0,
- vote = true,
- hasLicense = false,
- })
- TEAM_HOBO = DarkRP.createJob("Hobo", {
- color = Color(0, 102, 204),
- model = {
- "models/player/meeseeks/meeseeks.mdl",
- },
- description = [[You'r a hobo your nothing to anyone in this world]],
- weapons = {"pocket", "keys", "weapon_physgun", "weapon_physcannon","weapon_angryhoboswep_boot"},
- command = "hobo",
- max = 0, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_HOBOLEADER = DarkRP.createJob("Hobo Leader", {
- color = Color(0, 102, 204),
- model = {
- "models/puppymonkeybaby.mdl",
- },
- description = [[Your a hobo Leader your leader of hobos and the hobos must listen to you ]],
- weapons = {"pocket", "keys", "weapon_physgun", "weapon_physcannon","weapon_angryhoboswep_boot"},
- command = "hoboleader",
- max = 0, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- --[[---------------------------------------------------------------------------
- Define which team joining players spawn into and what team you change to if demoted
- ---------------------------------------------------------------------------]]
- GAMEMODE.DefaultTeam =
- --[[---------------------------------------------------------------------------
- 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_CP] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_BOUNTYHUNTER)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement