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_HOBO = DarkRP.createJob("Hobo", {
- color = Color(94, 49, 8, 255),
- model = {"models/player/corpse1.mdl"},
- description = [[You are a loser
- You are the only class allowed to build on the street]],
- weapons = {"weapon_crowbar","weapon_bugbait"},
- command = "rp_hobo",
- max = 5,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- -- CustomCheck
- medic = false,
- chief = false,
- mayor = false,
- hobo = true,
- cook = false,
- category = "Hobo",
- })
- TEAM_GUNDEALER = DarkRP.createJob("Gun Dealer", {
- color = Color(255, 131, 16, 255),
- model = {"models/player/monk.mdl"},
- description = [[You sell guns to players
- All the guns you sell are legal]],
- weapons = {"cw_deagle"},
- command = "rp_gundealer",
- max = 4,
- salary = 550,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- -- CustomCheck
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- category = "Dealer",
- })
- TEAM_DRUGDEALER = DarkRP.createJob("Drug Dealer", {
- color = Color(255, 16, 202, 255),
- model = {"models/player/soldier_stripped.mdl"},
- description = [[You sell Drugs ILLEGALY]],
- weapons = {"cw_deagle"},
- command = "rp_drugdealer",
- max = 2,
- salary = 550,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- -- CustomCheck
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- category = "Dealer",
- })
- TEAM_BLACKMARKETDEALER = DarkRP.createJob("Black Market Dealer", {
- color = Color(107, 16, 255, 255),
- model = {"models/player/soldier_stripped.mdl"},
- description = [[You sell GunsILLEGALY]],
- weapons = {"cw_deagle"},
- command = "rp_bmdealer",
- max = 2,
- salary = 550,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- -- CustomCheck
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- category = "Dealer",
- })
- --[[---------------------------------------------------------------------------
- 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_RP_COP] = true,
- [TEAM_RP_CPCHIEF] = true,
- [TEAM_MAYOR] = true,
- [TEAM_RP_SPECIALOP] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement