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:
- ---------------------------------------------------------------------------*/
- //Created using DeaDeye's Classmaker
- TEAM_BATMAN = AddExtraTeam("Batman", Color(255, 255, 255, 255), "models/player/batmandesertstorm.mdl", [[Batman]], {}, "batman", 1, 500, 2, false, true, false)
- TEAM_THIEF = AddExtraTeam("Thief", Color(153, 102, 0, 255)DarkRP.createJob("Thief", {
- color = Color(0, 0, 0, 255),
- model = "models/player/robber.mdl",
- description = [[You are a thief, rob people, lockpick their house and steal their plants and legal printers.]],
- weapons = {"lockpick"}, -- You may wanna find a pickpocket swep and add it here.
- command = "thief",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_HITMAN = DarkRP.createJob("Hitman", {
- color = Color(0, 0, 0, 255),
- model = "models/player/sunabouzu.mdl",
- description = [[People hire you to take out other people,
- this job require you to be completely focussed.
- A single breath can make you loose a shot.]],
- weapons = {"m9k_m24"},
- command = "hitman",
- max = 1,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_SS = AddExtraTeam("TEAM_SS", Color(153, 102, 0, 255)DarkRP.createJob("Secret Service", {
- color = Color(100, 20, 20, 255),
- model = "models/player/macdguy.mdl",
- description = [[You are responsible for protecting the mayor.
- Take care of the old fellow, he is vanuarable to terrorists all the time! Before he enters a room, you need to make sure its secure.]],
- weapons = {"weapon_deagle2", "stunstick", "weaponchecker"},
- command = "ss",
- max = 2,
- salary = 65,
- admin = 0,
- vote = true,
- hasLicense = false,
- ammo = {
- ["pistol"] = 60,
- }
- TEAM_SWAT = AddExtraTeam("TEAM_SWAT", Color(153, 102, 0, 255)
- DarkRP.createJob("Swat", {
- color = Color(25, 25, 170, 255),
- model = {"models/player/swat.mdl"},
- description = [[The protector of every citizen that lives in the city.
- You have the power to arrest criminals and protect innocents.
- Hit a player with your arrest baton to put them in jail.
- Bash a player with a stunstick and they may learn to obey the law.
- The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
- The Battering Ram can also unfreeze frozen props (if enabled).
- Type /wanted <name> to alert the public to the presence of a criminal.]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
- command = "Swat",
- max = 4,
- salary = 85,
- admin = 0,
- vote = true,
- hasLicense = true,
- help = {
- "Please don't abuse your job",
- "When you arrest someone they are auto transported to jail.",
- "They are auto let out of jail after some time",
- "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
- "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
- "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
- "Type /jailpos to set the jail position"
- }
- })
- TEAM_ADMIN = AddExtraTeam("TEAM_admin", Color(153, 102, 0, 255)
- DarkRP.createJob("Admin On Duty", {
- color = Color(170, 0, 0, 255),
- model = "models/player/zeus_combine_v2/zeus_combine_v2.mdl",
- description = [[Admin on duty is when you as an admin, is ready to make sure the server stays at its best.
- It's up to you to patrol and respond to admin calls.]],
- weapons = {},
- command = "aod",
- max = 0,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:GetUserGroup() == "Admin" end,
- })
- TEAM_DRUGGY = AddExtraTeam("TEAM_DRUGGY", Color(153, 102, 0, 255)
- DarkRP.createJob("Drug Dealer", {
- color = Color(51, 204, 255, 255),
- model = "models/player/Kleiner.mdl",
- description = [[You deal drugs to those in need.
- Be careful, may get arrested if caught in the act!]],
- weapons = {},
- command = "drug",
- max = 2,
- salary = 65,
- admin = 0,
- 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_SS] = true,
- [TEAM_ADMIN] = true,
- [TEAM_SWAT] = true
- }
- /*---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------*/
- DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement