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:
- ---------------------------------------------------------------------------]]
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Citizens",
- categorises = "jobs",
- startExpanded = true,
- color = Color(255, 255, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- TEAM_Citizen = DarkRP.createJob("Citizen", {
- color = Color(255, 255, 255, 255),
- model = {"models/player/hostage/hostage_04.mdl"},
- description = [[Citizen]],
- weapons = {},
- command = "civ",
- max = 0,
- salary = 25,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Citizens"
- })
- TEAM_Thief = DarkRP.createJob("Thief", {
- color = Color(255, 255, 255, 255),
- model = {"models/player/arctic.mdl"},
- description = [[Thief]],
- weapons = "lockpick", "weapon_fists"
- command = "thief",
- max = 30,
- salary = 50,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Citizens"
- })
- TEAM_GUN = DarkRP.createJob("Gun Dealer", {
- color = Color(255, 255, 255, 255),
- model = {"models/player/guerilla.mdl"},
- description = [[Gun Dealer]],
- weapons = "weapon_glock2",
- command = "gundealer",
- max = 2,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Citizens"
- })
- --[[---------------------------------------------------------------------------
- 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