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:
- ---------------------------------------------------------------------------]]
- TEAM_CHEFGIGN = DarkRP.createJob("*VIP* CHEF GIGN", {
- color = Color(4, 0, 254, 255),
- model = {"models/dauge/bf3_gign.mdl"},
- description = [[Vous êtes le CHEF du GIGN vous n'avez aucun ordre a recevoir de vos coéquipier la seul personne ayant de l autorité sur vous est le maire de la ville,
- le commissaire est vos coéquipier peuvent vous donnez une suggestion sur le plan d'attaque. ]],
- weapons = {"arrest_stick", "door_ram", "stunstick", "unarrest_stick", "weaponchecker", "m9k_m4a1", "m9k_usp"},
- command = "CHEFGIGN",
- max = 1,
- salary = 65,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = false
- })
- TEAM_POLICENTL = DarkRP.createJob("Police nationale", {
- color = Color(18, 0, 255, 255),
- model = {
- "models/fear/player/portal/male_1.mdl",
- "models/fear/player/portal/male_2.mdl",
- "models/fear/player/portal/male_3.mdl",
- "models/fear/player/portal/male_4.mdl",
- "models/fear/player/portal/male_5.mdl",
- "models/fear/player/portal/male_6.mdl"
- },
- description = [[Vous êtes agent de la police nationale votre devoir faire respecte l'ordre]],
- weapons = {"arrest_stick", "door_ram", "stunstick", "unarrest_stick", "weaponchecker", "m9k_usp"},
- command = "police",
- max = 15,
- salary = 31,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = true
- })
- TEAM_COMMISSAIRE = DarkRP.createJob("Commissaire", {
- color = Color(1, 0, 255, 255),
- model = {
- "models/player/police_agent/commissaire_01.mdl",
- "models/player/police_agent/commissaire_02.mdl",
- "models/player/police_agent/commissaire_03.mdl",
- "models/player/police_agent/commissaire_04.mdl",
- "models/player/police_agent/commissaire_05.mdl",
- "models/player/police_agent/commissaire_06.mdl",
- "models/player/police_agent/commissaire_07.mdl",
- "models/player/police_agent/commissaire_08.mdl",
- "models/player/police_agent/commissaire_09.mdl"
- },
- description = [[Vous êtes un commissaire donnez des ordres a vos coéquipier. ]],
- weapons = {"arrest_stick", "door_ram", "stunstick", "unarrest_stick", "weaponchecker", "m9k_mossberg590", "m9k_sig_p229r"},
- command = "commissaire",
- max = 1,
- salary = 60,
- admin = 0,
- vote = true,
- type = "police",
- hasLicense = true,
- candemote = false
- })
- TEAM_SNPRUSSE = DarkRP.createJob("*VIP* Sniper russe", {
- color = Color(255, 0, 0, 255),
- model = {"models/survivors/glaz_pm.mdl"},
- description = [[Vous êtes un sniper d'Elite vous faites ce que vous faite la seul personne a qui vous obéissez est le maire]],
- weapons = {"arrest_stick", "door_ram", "stunstick", "unarrest_stick", "weaponchecker", "fas2_ifak", "fas2_p226", "m9k_svu"},
- command = "sniperrusse",
- max = 1,
- salary = 87,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = false
- })
- TEAM_AGENTRUSSE = DarkRP.createJob("Agent russe", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/fuze_spetsnaz.mdl"},
- description = [[Vous êtes un agent des spetnaz vous ne devez rendre de compte a personne sauf au maire ]],
- weapons = {"arrest_stick", "door_ram", "stunstick", "unarrest_stick", "weaponchecker", "fas2_ak12", "fas2_ifak", "m9k_sig_p229r"},
- command = "russe",
- max = 1,
- salary = 102,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = false
- })
- TEAM_GIGN = DarkRP.createJob("GIGN", {
- color = Color(0, 14, 255, 255),
- model = {
- "models/player/raid/raid_04.mdl",
- "models/player/raid/raid_05.mdl",
- "models/player/raid/raid_06.mdl",
- "models/player/raid/raid_07.mdl"
- },
- description = [[Vous etes un membre du gign]],
- weapons = {"arrest_stick", "door_ram", "unarrest_stick", "stunstick", "weaponchecker", "m9k_famas", "m9k_hk45"},
- command = "GIGN",
- max = 6,
- salary = 58,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = true
- })
- TEAM_SNIPGIGN = DarkRP.createJob("*VIP* Sniper GIGN", {
- color = Color(31, 0, 255, 255),
- model = {
- "models/player/raid/raid_02.mdl",
- "models/player/raid/raid_03.mdl"
- },
- description = [[Vous etes un sniper du GIGN]],
- weapons = {"arrest_stick", "unarrest_stick", "door_ram", "weaponchecker", "stunstick", "m9k_m24", "m9k_ragingbull"},
- command = "SniperGIGN",
- max = 2,
- salary = 60,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = true
- })
- TEAM_JUGE = DarkRP.createJob("Juge d'instruction", {
- color = Color(16, 0, 255, 255),
- model = {
- "models/player/suits/male_01_closed_coat_tie.mdl",
- "models/player/suits/male_01_closed_tie.mdl",
- "models/player/suits/male_01_open.mdl",
- "models/player/suits/male_01_open_tie.mdl",
- "models/player/suits/male_01_open_waistcoat.mdl",
- "models/player/suits/male_02_closed_coat_tie.mdl",
- "models/player/suits/male_02_closed_tie.mdl",
- "models/player/suits/male_02_open.mdl",
- "models/player/suits/male_02_open_tie.mdl",
- "models/player/suits/male_02_open_waistcoat.mdl",
- "models/player/suits/male_03_closed_coat_tie.mdl",
- "models/player/suits/male_03_closed_tie.mdl",
- "models/player/suits/male_03_open.mdl",
- "models/player/suits/male_03_open_tie.mdl",
- "models/player/suits/male_03_open_waistcoat.mdl",
- "models/player/suits/male_04_closed_coat_tie.mdl",
- "models/player/suits/male_04_closed_tie.mdl",
- "models/player/suits/male_04_open.mdl",
- "models/player/suits/male_04_open_tie.mdl",
- "models/player/suits/male_04_open_waistcoat.mdl",
- "models/player/suits/male_05_closed_coat_tie.mdl",
- "models/player/suits/male_05_closed_tie.mdl",
- "models/player/suits/male_05_open.mdl",
- "models/player/suits/male_05_open_tie.mdl",
- "models/player/suits/male_05_open_waistcoat.mdl",
- "models/player/suits/male_06_closed_coat_tie.mdl",
- "models/player/suits/male_06_closed_tie.mdl",
- "models/player/suits/male_06_open.mdl",
- "models/player/suits/male_06_open_tie.mdl",
- "models/player/suits/male_06_open_waistcoat.mdl",
- "models/player/suits/male_07_closed_coat_tie.mdl",
- "models/player/suits/male_07_closed_tie.mdl",
- "models/player/suits/male_07_open.mdl",
- "models/player/suits/male_07_open_tie.mdl",
- "models/player/suits/male_07_open_waistcoat.mdl",
- "models/player/suits/male_08_closed_coat_tie.mdl",
- "models/player/suits/male_08_closed_tie.mdl",
- "models/player/suits/male_08_open.mdl",
- "models/player/suits/male_08_open_tie.mdl",
- "models/player/suits/male_08_open_waistcoat.mdl",
- "models/player/suits/male_09_closed_coat_tie.mdl",
- "models/player/suits/male_09_closed_tie.mdl",
- "models/player/suits/male_09_open.mdl",
- "models/player/suits/male_09_open_tie.mdl",
- "models/player/suits/male_09_open_waistcoat.mdl"
- },
- description = [[Vous etes un juge ]],
- weapons = {"arrest_stick", "unarrest_stick", "door_ram", "stunstick", "weaponchecker", "weapon_fists", "fas2_ifak", "m9k_vikhr", "m9k_spas12", "m9k_glock", "m9k_honeybadger"},
- command = "Jugedinstruction",
- max = 1,
- salary = 13,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = false,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_SNPALLEMAND = DarkRP.createJob("*VIP* Sniper allemand", {
- color = Color(21, 255, 0, 255),
- model = {"models/survivors/bandit_model.mdl"},
- description = [[Vous etes un sniper allemand]],
- weapons = {"arrest_stick", "unarrest_stick", "door_ram", "stunstick", "weaponchecker", "weapon_fists", "fas2_sr25"},
- command = "Sniperallemand",
- max = 1,
- salary = 74,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = false
- })
- TEAM_AGENTAMERICAIN = DarkRP.createJob("Agent americain", {
- color = Color(255, 215, 0, 255),
- model = {"models/auditor/r6s/navy/blackbeard/chr_navy_richochet.mdl"},
- description = [[Vous etes un agent americain qui debarque a rockford]],
- weapons = {"arrest_stick", "unarrest_stick", "door_ram", "stunstick", "weaponchecker", "m9k_scar", "m9k_deagle", "weapon_fists", "fas2_ifak"},
- command = "Agentamericain",
- max = 1,
- salary = 90,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = false
- })
- TEAM_SNPPOLONAIS = DarkRP.createJob("*VIP* Sniper polonais", {
- color = Color(169, 0, 255, 255),
- model = {"models/auditor/r6s/grom/zofia/chr_grom_zofia.mdl"},
- description = [[Vous etes un sniper polonais qui fait parti de l etat polonais]],
- weapons = {"arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "weapon_fists", "m9k_m98b", "m9k_glock"},
- command = "Sniperpolonais",
- max = 1,
- salary = 68,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = false
- })
- TEAM_SECTION = DarkRP.createJob("Section judiciaire", {
- color = Color(0, 44, 255, 255),
- model = {
- "models/player/suits/male_01_shirt.mdl",
- "models/player/suits/male_01_shirt_tie.mdl",
- "models/player/suits/male_02_shirt.mdl",
- "models/player/suits/male_02_shirt_tie.mdl",
- "models/player/suits/male_03_shirt.mdl",
- "models/player/suits/male_03_shirt_tie.mdl",
- "models/player/suits/male_04_shirt.mdl",
- "models/player/suits/male_04_shirt_tie.mdl",
- "models/player/suits/male_05_shirt_tie.mdl",
- "models/player/suits/male_06_shirt.mdl",
- "models/player/suits/male_06_shirt_tie.mdl",
- "models/player/suits/male_07_shirt.mdl",
- "models/player/suits/male_07_shirt_tie.mdl",
- "models/player/suits/male_08_shirt.mdl",
- "models/player/suits/male_08_shirt_tie.mdl",
- "models/player/suits/male_09_shirt.mdl",
- "models/player/suits/male_09_shirt_tie.mdl"
- },
- description = [[Vous etes un membre de la section judiciare]],
- weapons = {"arrest_stick", "unarrest_stick", "door_ram", "stunstick", "weaponchecker", "m9k_remington870", "m9k_g36", "m9k_usp", "weapon_fists"},
- command = "Sectionjudiciaire",
- max = 4,
- salary = 80,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = false,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_SNPAMERICAIN = DarkRP.createJob("*VIP* Sniper americain", {
- color = Color(255, 245, 0, 255),
- model = {
- "models/player/portal/male_02_aperture.mdl",
- "models/player/portal/male_04_aperture.mdl",
- "models/player/portal/male_06_aperture.mdl",
- "models/player/portal/male_07_aperture.mdl",
- "models/player/portal/male_08_aperture.mdl",
- "models/player/portal/male_09_aperture.mdl"
- },
- description = [[Vous etes un sniper du navy seals]],
- weapons = {"m9k_aw50", "arrest_stick", "unarrest_stick", "stunstick", "weaponchecker", "door_ram", "m9k_deagle", "weapon_fists"},
- command = "Snipernavyseals",
- max = 1,
- salary = 75,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = false
- })
- TEAM_AGENTPOLONAIS = DarkRP.createJob("Agent polonais", {
- color = Color(235, 0, 255, 255),
- model = {"models/auditor/r6s/grom/ela/chr_grom_ela.mdl"},
- description = [[Vous etes un agent de l etat polonais ]],
- weapons = {"arrest_stick", "door_ram", "stunstick", "unarrest_stick", "weaponchecker", "weapon_fists", "m9k_vector", "m9k_colt1911"},
- command = "Agentpolonais",
- max = 1,
- salary = 80,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = false
- })
- TEAM_AGENTALLEMAND = DarkRP.createJob("Agent allemand", {
- color = Color(0, 255, 51, 255),
- model = {"models/auditor/r6s/yeahgah/jagerv2.mdl"},
- description = [[Vous etes un agent allemand faite respecter l ordre]],
- weapons = {"arrest_stick", "door_ram", "stunstick", "unarrest_stick", "weaponchecker", "m9k_m416", "m9k_usp", "weapon_fists"},
- command = "Agentallemand",
- max = 1,
- salary = 85,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = false
- })
- TEAM_PAT = DarkRP.createJob("Patrouilleur", {
- color = Color(4, 0, 255, 255),
- model = {
- "models/player/portal/f_police2_armor.mdl",
- "models/player/portal/f_police3_armor.mdl",
- "models/player/portal/f_police4_armor.mdl",
- "models/player/portal/f_police5_armor.mdl",
- "models/player/portal/f_police6_armor.mdl",
- "models/player/portal/f_police7_armor.mdl",
- "models/player/portal/f_police_armor.mdl"
- },
- description = [[Vous etes un patrouilleur vous n avez aucune autorisation d intervenir tant que une brigade n est pas presente sur les lieux]],
- weapons = {"door_ram", "arrest_stick", "unarrest_stick", "stunstick", "weaponchecker", "weapon_fists", "fas2_glock20"},
- command = "Patrouilleur",
- max = 6,
- salary = 52,
- admin = 0,
- vote = false,
- type = "police",
- hasLicense = true,
- candemote = 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_POLICENTL] = true,
- [TEAM_COMMMISSAIRE] = true,
- [TEAM_MAYOR] = true,
- [TEAM_PAT] = true,
- [TEAM_AGENTALLEMAND] = true,
- [TEAM_AGENTPOLONAIS] = true,
- [TEAM_AGENTAMERICAIN] = true,
- [TEAM_SECTION] = true,
- [TEAM_SNPPOLONAIS] true,
- [TEAM_SNPAMERICAIN] true,
- [TEAM_SNPALLEMAND] true,
- [TEAM_JUGE] true,
- [TEAM_SNIPGIGN] true,
- [TEAM_GIGN] true,
- [TEAM_SNPRUSSE] true,
- [TEAM_AGENTRUSSE] true,
- [TEAM_CHEFGIGN] true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement