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_HITMAN = DarkRP.createJob("Hitman", {
- color = Color(143, 71, 71, 255),
- model = "models/player/alyx.mdl",
- description = [[Kill people and get money at the same time!]],
- weapons = {"m9k_deagle"},
- command = "hitman",
- max = 2,
- salary = 50,
- admin = 0,
- vote = true,
- hasLicense = false,
- })
- TEAM_ADMIN = DarkRP.createJob("Admin On Duty", {
- color = Color(5, 255, 5, 255),
- model = "models/player/breen.mdl",
- description = [[Let people recognize you]],
- weapons = {"weapon_keypadchecker", "arrest_stick", "door_ram", "keys", "stunstick", "unarrest_stick", "weaponchecker",},
- command = "Admin",
- max = 20,
- salary = 1000000,
- admin = 1,
- vote = false,
- hasLicense = true,
- })
- TEAM_ADMIN = DarkRP.createJob("Thief In Law ", {
- color = Color(0, 0, 0, 255),
- model = "models/player/breen.mdl",
- description = [[The Leader of the Russian Mafia ]],
- weapons = {"weapon_ak472","lockpick"},
- command = "ThiefInLaw",
- max = 20,
- salary = 1000000,
- admin = 1,
- vote = false,
- hasLicense = false,
- })
- /*---------------------------------------------------------------------------
- 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, [TEAM_SWAT] = true,}
- /*---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------*/
- DarkRP.addHitmanTeam(TEAM_ADMIN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement