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_501stTROOP = DarkRP.createJob("501st Trooper", {
- color = Color(2, 0, 255, 255),
- model = {"models/501st/trooper/trooper.mdl"},
- description = [[501st Battalion: Offensive specialists]],
- weapons = {"rw_sw_dc15a","clone_card_c1"},
- command = "501trooper",
- max = 15,
- salary = 150,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "501st",
- sortOrder = 100
- })
- TEAM_501stCMND = DarkRP.createJob("501st Commander Rex", {
- color = Color(2, 0, 255, 255),
- model = {"models/501st/rex/rex.mdl"},
- description = [[Commander of the 501st Battalion: Offensive specialists]],
- weapons = {"clone_card_c4","rw_sw_dc19","rw_sw_dc15a_o","rw_sw_dual_dc17"},
- command = "501co",
- max = 1,
- salary = 350,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "501st",
- sortOrder = 96
- })
- TEAM_501stexo = DarkRP.createJob("501st Executive Officer", {
- color = Color(2, 0, 255, 255),
- model = {"models/501st/tc/tc.mdl"},
- description = [[Executive Officer of the 501st Battalion: Offensive specialists]],
- weapons = {"clone_card_c4","rw_sw_dc19","rw_sw_dc15a_o"},
- command = "501exo",
- max = 2,
- salary = 300,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "501st",
- sortOrder = 97
- })
- TEAM_501stsarge = DarkRP.createJob("501st Sargeant", {
- color = Color(2, 0, 255, 255),
- model = {"models/501st/jet/jet.mdl"},
- description = [[Sergeant of the 501st Battalion: Offensive specialists]],
- weapons = {"clone_card_c2","rw_sw_dc19","rw_sw_dc15a_o"},
- command = "501sarge",
- max = 10,
- salary = 200,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "501st",
- sortOrder = 99
- })
- TEAM_501stLT = DarkRP.createJob("501st Lieutenant", {
- color = Color(2, 0, 255, 255),
- model = {"models/501st/vanguard/vanguard.mdl"},
- description = [[Lieutenant of the 501st Battalion: Offensive specialists]],
- weapons = {"clone_card_c3","rw_sw_dc19","rw_sw_dc15a_o"},
- command = "501lt",
- max = 5,
- salary = 250,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "501st",
- sortOrder = 98
- })
- --[[---------------------------------------------------------------------------
- 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