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_CIVILIAN = DarkRP.createJob("Civilian", {
- color = Color(0, 0, 0, 255),
- model = "models/player/clanof06/male_04.mdl",
- description = [[The world is your oyster, it's up to you to become something.]],
- weapons = {"weapon_fishingrod"},
- command = "civ",
- max = 0,
- salary = 10,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens",
- })
- TEAM_POFFICER = DarkRP.createJob("Probationary Police Officer", {
- color = Color(25, 25, 170, 255),
- model = {"models/taggart/police01/male_01.mdl"},
- description = [[To protect and serve.]],
- weapons = {"fas2_glock20", "weaponchecker", "weapon_r_handcuffs"},
- command = "pofficer",
- max = 4,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Police Department",
- })
- TEAM_POFFICER = DarkRP.createJob("Police Officer", {
- color = Color(25, 25, 170, 255),
- model = {"models/taggart/police01/male_01.mdl"},
- description = [[To protect and serve.]],
- weapons = {"fas2_glock20", "weaponchecker", "weapon_r_handcuffs"},
- command = "officer",
- max = 4,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Police Department",
- })
- TEAM_SOFFICER = DarkRP.createJob("Police Supervisor", {
- color = Color(25, 25, 170, 255),
- model = {"models/taggart/police01/male_02.mdl"},
- description = [[To protect and serve.]],
- weapons = {"fas2_glock20", "weaponchecker", "weapon_r_handcuffs", "speed_gun"},
- command = "sofficer",
- max = 4,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Police Department",
- })
- TEAM_PARAMEDIC = DarkRP.createJob("Paramedic", {
- color = Color(25, 232, 239),
- model = {"models/player/kerry/medic/medic_01.mdl"},
- description = [[To save lives.]],
- weapons = {"weapon_gdefib", "weapon_bandages"},
- command = "paramedic",
- max = 4,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Emergency Department",
- })
- TEAM_SWATC = DarkRP.createJob("S.W.A.T Commander", {
- color = Color(4, 26, 114),
- model = {"models/piket_playermodel/piket_playermodel.mdl"},
- description = [[To protect and serve.]],
- weapons = {"fas2_glock20", "fas2_mp5a5", "weapon_r_handcuffs"},
- command = "swatc",
- max = 1,
- salary = 145,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Police Department",
- })
- TEAM_SWATO = DarkRP.createJob("S.W.A.T Officer", {
- color = Color(4, 26, 114),
- model = {"models/piket_playermodel/piket_playermodel.mdl"},
- description = [[To protect and serve.]],
- weapons = {"fas2_glock20", "fas2_mp5a5", "weapon_r_handcuffs"},
- command = "swato",
- max = 4,
- salary = 110,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Police Department",
- })
- --[[---------------------------------------------------------------------------
- Define which team joining players spawn into and what team you change to if demoted
- ---------------------------------------------------------------------------]]
- GAMEMODE.DefaultTeam = TEAM_CIVILIAN
- --[[---------------------------------------------------------------------------
- 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_OFFICER] = true,
- [TEAM_POFFICER] = true,
- [TEAM_SOFFICER] = true,
- [TEAM_CHIEF] = false,
- [TEAM_MAYOR] = false,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement