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_SKELETON = DarkRP.createJob("Skeleton", {
- color = Color(100, 0, 0, 255),
- model = "models/player/skeleton.mdl",
- description = [[Kill everyone.]],
- weapons = {"m9k_knife"},
- command = "Skeleton",
- max = 1,
- salary = 90,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_POLICE = DarkRP.createJob("Police Officer", {
- color = Color(25, 25, 170, 255),
- model = {
- "models/fbi_pack/fbi_01.mdl",
- "models/fbi_pack/fbi_02.mdl",
- "models/fbi_pack/fbi_03.mdl",
- "models/fbi_pack/fbi_04.mdl",
- "models/fbi_pack/fbi_05.mdl",
- "models/fbi_pack/fbi_06.mdl",
- "models/fbi_pack/fbi_07.mdl",
- "models/fbi_pack/fbi_08.mdl",
- "models/fbi_pack/fbi_09.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_usp","stunstick","door_ram","weaponchecker"},
- command = "police",
- max = 4,
- salary = GAMEMODE.Config.normalsalary * 1.45,
- admin = 0,
- vote = true,
- hasLicense = true,
- ammo = {["pistol"] = 60,}
- })
- TEAM_CHIEF = DarkRP.createJob("Police Chief", {
- color = Color(50, 50, 255, 255),
- model = "models/player/elispolice/police.mdl",
- description = [[The Chief is the leader of the Police Department.
- Coordinate the police force to enforce law in the city.
- Hit a player with 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 his/her arrest.
- Type /wanted <name> to alert the public to the presence of a criminal.
- Type /jailpos to set the Jail Position]],
- weapons = {"arrest_stick","unarrest_stick","m9k_coltpython","stunstick","door_ram","weaponchecker"},
- command = "chief",
- max = 1,
- salary = GAMEMODE.Config.normalsalary * 1.67,
- admin = 0,
- vote = true,
- hasLicense = true,
- chief = true,
- NeedToChangeFrom = TEAM_POLICE,
- ammo = {
- ["pistol"] = 60,
- }
- })
- TEAM_SWAT = DarkRP.createJob("SWAT", {
- color = Color(0, 0, 255, 255),
- model = {
- "models/player/swat.mdl",
- "models/player/urban.mdl",
- "models/player/gasmask.mdl"},
- description = [[Donators only!]],
- weapons = {"arrest_stick","unarrest_stick","m9k_hk45","m9k_m4a1","stunstick","door_ram","weaponchecker"},
- command = "Swat",
- max = 2,
- salary = 55,
- admin = 0,
- vote = true,
- hasLicense = true,
- })
- TEAM_SWATC = DarkRP.createJob("SWAT Commander", {
- color = Color(0, 0, 200, 255),
- model = "models/player/riot.mdl",
- description = [[DONATOR ONLY!]],
- weapons = {"arrest_stick","unarrest_stick","m9k_model500","m9k_m416","stunstick","door_ram","weaponchecker"},
- command = "swatc",
- max = 1,
- salary = 60,
- admin = 0,
- vote = false,
- hasLicense = true,
- customCheck = function(ply) return table.HasValue({"donator","moderator","admin","superadmin","master","owner"}, ply:GetNWString("usergroup")) end
- })
- TEAM_MBOSS = DarkRP.createJob("Mob Boss", {
- color = Color(55, 55, 55, 215),
- model = "models/vito.mdl",
- description = [[You are the meanest and toughest gangster out there. Lead your fellow gangsters to victory and guide them to successful raids.]],
- weapons = {"lockpick","keypad_cracker"},
- command = "mobboss",
- max = 1,
- salary = 150,
- admin = 0,
- vote = true,
- hasLicense = true,
- })
- TEAM_BLK = DarkRP.createJob("Black Market Dealer", {
- color = Color(50, 50, 50, 255),
- model = "models/player/leet.mdl",
- description = [[Sells highly illegal weapons such as sniper rifles and machine guns.]],
- weapons = {},
- command = "blackmarket",
- max = 2,
- salary = 60,
- admin = 0,
- vote = true,
- hasLicense = false,
- })
- TEAM_SEWER = DarkRP.createJob("Sewer Monster", {
- color = Color(255, 100, 100, 255),
- model = "models/player/charple.mdl",
- description = [[DONATOR ONLY! Stay in the sewers and kill anyone who comes in.]],
- weapons = {"m9k_machete"},
- command = "sewermonster",
- max = 3,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return table.HasValue({"donator","moderator","admin","superadmin","master","owner"}, ply:GetNWString("usergroup")) end
- })
- TEAM_ADMIN = DarkRP.createJob("Admin on Duty", {
- color = Color(255, 0, 0, 255),
- model = "models/player/Barney.mdl"},
- description = [[Admin on Duty. Do not RP while on this job.]],
- weapons = {""},
- command = "admin",
- max = 5,
- salary = 0,
- admin = 1,
- vote = false,
- hasLicense = false,
- })
- TEAM_GUARD = DarkRP.createJob("Security Guard", {
- color = Color(6, 153, 213, 255),
- model = {
- "models/player/guard_pack/guard_01.mdl",
- "models/player/guard_pack/guard_02.mdl",
- "models/player/guard_pack/guard_03.mdl",
- "models/player/guard_pack/guard_04.mdl",
- "models/player/guard_pack/guard_05.mdl"},
- description = [[Get paid to protect people.]],
- weapons = {"m9k_deagle_drp","m9k_honeybadger"},
- command = "guard",
- max = 4,
- salary = 50,
- vote = false,
- admin = 0,
- hasLicense = false,
- })
- TEAM_PONY = DarkRP.createJob("Pony", {
- color = Color(250, 10, 210, 255),
- model = {"models/ppm/player_default_base_nj.mdl","models/ppm/player_default_base_ragdoll.mdl"},
- description = [[Be a little pony and hurt people >:)]],
- weapons = {"m9k_smgp90","m9k_coltpython"},
- command = "pony",
- max = 5,
- salary = 20,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_CLEAD = DarkRP.createJob("Crypt Leader", {
- color = Color(0, 0, 255, 255),
- model = "models/player/slow/jknies/cripz/slow_3.mdl",
- description = [[Leader of the crypt gang]],
- weapons = {"m9k_deagle","m9k_dbarrel"},
- command = "clead",
- max = 1,
- salary = 75,
- admin = 0,
- vote = true,
- hasLicense = false,
- })
- TEAM_CGANG = DarkRP.createJob("Crypt Gang", {
- color = Color(0, 0, 255, 255),
- model = {
- "models/player/slow/jknies/cripz/slow_1.mdl",
- "models/player/slow/jknies/cripz/slow_1.mdl"},
- description = [[Listen to your leader.]],
- weapons = {"m9k_honeybadger"},
- command = "cgang",
- max = 3,
- salary = 25,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_BLEAD = DarkRP.createJob("Blood Leader", {
- color = Color(255, 0, 0, 255),
- model = "models/player/slow/jknies/bloodz/slow_2.mdl",
- description = [[Leader of the Blood Gang]],
- weapons = {"m9k_deagle","m9k_dbarrel"},
- command = "blead",
- max = 1,
- salary = 75,
- admin = 0,
- vote = true,
- hasLicense = false,
- })
- TEAM_BGANG = DarkRP.createJob("Blood Gang", {
- color = Color(255, 0, 0, 255),
- model = {
- "models/player/slow/jknies/bloodz/slow_3.mdl",
- "models/player/slow/jknies/bloodz/slow_1.mdl"},
- description = [[Member of the Blood Gang]],
- weapons = {"m9k_honeybadger"},
- command = "bgang",
- max = 1,
- salary = 25,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_PROST = DarkRP.createJob("Prostitute", {
- color = Color(255, 255, 0, 255),
- model = "models/csxxx_pm.mdl",
- description = [[Sit on the streets and wait for those special calls ;)]],
- weapons = {""},
- command = "prost",
- max = 2,
- salary = 10,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_WOLF = DarkRP.createJob("Wolf", {
- color = Color(0, 0, 0, 255),
- model = {
- "models/verdugo/verdugo.mdl",
- "models/dpfilms/metropolice/tribal_police.mdl"},
- description = [[For Wolf]],
- weapons = {"m9k_dbarrel","m9k_m60","m9k_scar","m9k_amd65"," m9k_auga3","m9k_m1918bar","m9k_sig_p229r","m9k_knife","m9k_honeybadger","m9k_mp7"},
- command = "Wolf",
- max = 1,
- salary = 100,
- admin = 1,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return table.HasValue({"owner"}, ply:GetNWString("usergroup"))
- or ply:SteamID()=="STEAM_0:0:67620036"
- end
- })
- TEAM_MURD = DarkRP.createJob("Ninja Badass", {
- color = Color(255, 0, 0, 255),
- model = "models/zed/zed.mdl",
- description = [[Zed Model]],
- weapons = {"climb_swep2","m9k_psg1","m9k_honeybadger","ls_sniper","m9k_usc"},
- command = "ninja",
- max = 2,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:SteamID()=="STEAM_0:0:53698800"
- or ply:SteamID()=="STEAM_0:0:67620036"
- end
- })
- TEAM_MUSL = DarkRP.createJob("Muslim Twin", {
- color = Color(0, 0, 255, 255),
- model = {
- "models/v/v.mdl",
- "models/verdugo/verdugo.mdl",
- "models/player/edward_kenway.mdl",
- "models/masterchief_pack/slow_masterchief_blue.mdl",
- "models/obama/obama.mdl",
- "models/karasz/mario/spiny.mdl",
- "models/karasz/mario/goomba.mdl",
- "models/karasz/mario/boo.mdl",
- "models/karasz/mario/bob_omb.mdl",
- "models/player/jesus/jesus.mdl",
- "models/player/zack/zackhalloween.mdl",
- "models/zed/zed.mdl","models/v/v.mdl",
- "models/tdmcars/bug_veyronss.mdl",
- "models/apocmodels/mario/yoshi_mega.mdl"},
- description = [[Muslims Job he can either RP with it or Admin with it.]],
- weapons = {"m9k_winchester73","m9k_minigun","m9k_scoped_taurus","m9k_dbarrel","m9k_m98b","m9k_ied_detonator","m9k_honeybadger","weapon_bugbait","lockpick","keypad_cracker","climb_swep2"},
- command = "musl",
- max = 1,
- salary = 100,
- admin = 1,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:SteamID()=="STEAM_0:0:67620036"
- end
- })
- TEAM_KAM = DarkRP.createJob("Kamman", {
- color = Color(230, 110, 246, 255),
- model = {
- "models/player/edward_kenway.mdl",
- "models/player/Barney.mdl",
- "models/v/v.mdl",
- "models/infected/jeffry.mdl",
- "models/dpfilms/metropolice/tribal_police.mdl",
- "models/obama/obama.mdl"},
- description = [[Do what you want :).]],
- weapons = {"m9k_honeybadger","m9k_ied_detonator","m9k_knife","m9k_svu","m9k_val","m9k_scoped_taurus","weapon_crowbar","weapon_bugbait","lockpick", "keypad_cracker","m9k_dbarrel","m9k_minigun","m9k_m98b","m9k_ak47"},
- command = "kamman",
- max = 2,
- salary = 60,
- admin = 1,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:SteamID()=="STEAM_0:1:70507014"
- or ply:SteamID()=="STEAM_0:0:67620036"
- end
- })
- /*---------------------------------------------------------------------------
- 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,
- [TEAM_SWATC] = true,
- }
- /*---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------*/
- DarkRP.addHitmanTeam(TEAM_HIT)
- DarkRP.addHitmanTeam(TEAM_ADVHIT)
- DarkRP.addHitmanTeam(TEAM_MUSL)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement