Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- IL FAUT FAIRE LES JOBS DE BASE, VRAIMENT DE BASE, IMAGINEZ BIEN QUE TAXIMAN ETC CA VA ETRE DES ENTREPRISES DONC PAS DE TAXIMAN NI RIEN !
- -- Intégrer des métiers d'entreprise du coup (patron, etc)
- --[[---------------------------------------------------------------------------
- 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_CHOMEUR = DarkRP.createJob("Chômeur", {
- color = Color(32, 136, 207, 255),
- model = {"models/player/Group01/male_09.mdl"},
- description = [[Le chômeur est à la recherche d'un emploi afin de gagner de l'argent.
- Il se débrouille pour l'instant avec le SMIC.]],
- weapons = {},
- command = "chomeur",
- max = 0,
- salary = 40,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end
- })
- TEAM_VENDEURVOITURE = DarkRP.createJob("Vendeur de voiture", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Vous vendez des véhicules neuves]],
- weapons = {},
- command = "voiture",
- max = 4,
- salary = 1045,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_PATRON = DarkRP.createJob("Patron", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[]],
- weapons = {},
- command = "patron",
- max = 4,
- salary = 2458,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_EMPLOYE = DarkRP.createJob("Employé", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[ Un employé est une personne qui occupe un emploi sous les ordres de quelqu'un, dans les sphères non productives de l'économie (commerce, administration, etc.) et dont le travail est d'ordre plutôt intellectuel que manuel. (S'oppose à patron, chef de service; à ouvrier).]],
- weapons = {},
- command = "dst",
- max = 12,
- salary = 2049,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_OUVRIER = DarkRP.createJob("Ouvrier", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Un ouvrier est une personne qui travaille dans le milieu manuel et qui exécute un travail manuel, exerce un métier manuel ou mécanique moyennant un salaire ; spécialement travailleur manuel de la grande industrie. )]],
- weapons = {},
- command = "ouvrier",
- max = 12,
- salary = 2250,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_DST = DarkRP.createJob("Directeur de la Surveillance du territoire", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Vous faite partis du service de renseignements du ministère de l'Intérieur, au sein de la direction générale de la Police nationale, chargé historiquement du contre-espionnage en France..
- Les missions que vous effectuez sont les suivants:
- division de la surveillance du monde musulman et contre-terrorisme ;
- division sécurité, protection du patrimoine et prolifération ;
- division contre-espionnage intérieur ;
- division des services techniques et de l'informatique.]],
- weapons = {},
- command = "dst",
- max = 4,
- salary = 2458,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_GARDIENDELAPAIX = DarkRP.createJob("Gardien de la paix", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Le Policier fait régner l'ordre dans la ville.]],
- weapons = {},
- command = "policier",
- max = 10,
- salary = 1339,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_BRIGADIERDEPOLICE = DarkRP.createJob("Brigadier de police", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Le Brigadier peut donner des ordre au gardiens de la paix. Il fait régner l'ordre dans la ville.]],
- weapons = {},
- command = "brigadier",
- max = 1,
- salary = 2288,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_BRIGADIERCHEF= DarkRP.createJob("Brigadier-chef de police", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Le Brigadier-chef organise ces bridagier et peux donner des ordres aux gardiens de la paix. Il fait régner l'ordre dans la ville.]],
- weapons = {},
- command = "brigadierchef",
- max = 1,
- salary = 2632,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_MAJOR = DarkRP.createJob("Major de police", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Le Policier fait régner l'ordre dans la ville.]],
- weapons = {},
- command = "major",
- max = 1,
- salary = 2814,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_CAPITAINE = DarkRP.createJob("Capitaine de police", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Vous faite partie des haut-gradès de police. Vous avez le droit de diriger vos unités en absence de la haute hierarchie (Commissaire,General...).]],
- weapons = {},
- command = "capitaine",
- max = 1,
- salary = 2384,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_COMMANDANT = DarkRP.createJob("Commandant de Police", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Le commandant est sous les ordres du maire, de son commissaire et du général du RAID, Vous pouvez dirigez les unités de police en l'absence du commissaire.]],
- weapons = {},
- command = "commandant",
- max = 2,
- salary = 3289,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_COMMANDANTDIVISIONNAIRE= DarkRP.createJob("Commandant divisionnaire", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Le commandant est sous les ordres du maire, des différents commissaire de police et du général du RAID, Vous pouvez dirigez les unités de police en l'absence des commissaires.]],
- weapons = {},
- command = "commandantdivisionnaire",
- max = 2,
- salary = 3289,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_COMMISSAIREDEPOLICE= DarkRP.createJob("Commissaire de police", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Vous dépendez du maire en therme de hierarchie mais le maire ne commande pas vos unité. Vous seul dirige toute les forces de police de la ville.]],
- weapons = {},
- command = "commissairedepolice",
- max = 1,
- salary = 3162,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_COMMISSAIREDIVISIONNAIRE= DarkRP.createJob("Commissaire Divisionnaire", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Vous répartissez les taches avec les autres commissaires. Vous dépendez du maire en therme de hierarchie mais le maire ne commande pas vos unité. Vous seul dirige toute les forces de police de la ville.]],
- weapons = {},
- command = "commissairedivisionnaire",
- max = 1,
- salary = 3369,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_COMMISSAIREGENERALE = DarkRP.createJob("Commissaire Générale", {
- color = Color(32, 92, 207, 255),
- model = {"models/player/leet.mdl"},
- description = [[Vous dépendez du maire en therme de hierarchie mais le maire ne commande pas vos unité. Vous seul dirige toute les forces de police de la ville.]],
- weapons = {},
- command = "commissairegenerale",
- max = 1,
- salary = 5718,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "")
- end
- })
- TEAM_COLONELRAID = DarkRP.createJob("Colonel RAID", {
- color = Color(8, 127, 172, 255),
- model = {
- "models/dauge/bf3_gign.mdl",
- },
- description = [[Le RAID (Recherche, assistance, intervention, dissuasion) a comme but d'intervenir lors de braquages ou de prises d'otages si nécessaire et si le Commandant le demande.]],
- weapons = {},
- command = "colonelraid",
- max = 10,
- salary = 3900,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Police",
- ammo = {},
- PlayerLoadout = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(100)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- end
- })
- TEAM_COMMANDANTRAID = DarkRP.createJob("Commandant RAID", {
- color = Color(8, 127, 172, 255),
- model = {
- "models/dauge/bf3_gign.mdl",
- },
- description = [[Le RAID (Recherche, assistance, intervention, dissuasion) a comme but d'intervenir lors de braquages ou de prises d'otages si nécessaire et si le Commandant le demande.]],
- weapons = {},
- command = "commandantraid",
- max = 10,
- salary = 3800,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- ammo = {},
- PlayerLoadout = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(100)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- end
- })
- TEAM_MAJORRAID = DarkRP.createJob("Major RAID", {
- color = Color(8, 127, 172, 255),
- model = {
- "models/dauge/bf3_gign.mdl",
- },
- description = [[Le RAID (Recherche, assistance, intervention, dissuasion) a comme but d'intervenir lors de braquages ou de prises d'otages si nécessaire et si le Commandant le demande.]],
- weapons = {},
- command = "majorraid",
- max = 10,
- salary = 3500,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- ammo = {},
- PlayerLoadout = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(100)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- end
- })
- TEAM_1ERECLASSERAID = DarkRP.createJob("1ere Classe RAID", {
- color = Color(8, 127, 172, 255),
- model = {
- "models/dauge/bf3_gign.mdl",
- },
- description = [[Le RAID (Recherche, assistance, intervention, dissuasion) a comme but d'intervenir lors de braquages ou de prises d'otages si nécessaire et si le Commandant le demande.]],
- weapons = {},
- command = "1ereclasseraid",
- max = 10,
- salary = 3200,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- ammo = {},
- PlayerLoadout = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(100)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- end
- })
- TEAM_RAID = DarkRP.createJob("RAID", {
- color = Color(8, 127, 172, 255),
- model = {
- "models/dauge/bf3_gign.mdl",
- },
- description = [[Le RAID (Recherche, assistance, intervention, dissuasion) a comme but d'intervenir lors de braquages ou de prises d'otages si nécessaire et si le Commandant le demande.]],
- weapons = {},
- command = "1ereclasseraid",
- max = 10,
- salary = 3200,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Métiers",
- ammo = {},
- PlayerLoadout = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(100)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- end
- })
- --[[---------------------------------------------------------------------------
- Define which team joining players spawn into and what team you change to if demoted
- ---------------------------------------------------------------------------]]
- GAMEMODE.DefaultTeam = TEAM_CHOMEUR
- --[[---------------------------------------------------------------------------
- Define which teams belong to civil protection
- Civil protection can set warrants, make people wanted and do some other police related things
- ---------------------------------------------------------------------------]]
- GAMEMODE.CivilProtection = { -- Virgule à la fin
- [TEAM_GARDIENDELAPAIX] = true,
- [TEAM_BRIGADIERDEPOLICE] =true,
- [TEAM_BRIGADIERCHEF] = true,
- [TEAM_MAJOR] = true,
- [TEAM_CAPITAINE] = true,
- [TEAM_COMMANDANT] = true,
- [TEAM_COMMANDANTDIVISIONNAIRE] = true,
- [TEAM_COMMISSAIREDEPOLICE] = true,
- [TEAM_COMMISSAIREDIVISIONNAIRE] = true,
- [TEAM_COMMISSAIREGENERALE] = true,
- [TEAM_RAID] = true,
- [TEAM_1ERECLASSERAID] =true,
- [TEAM_MAJORGIGN] = true,
- [TEAM_COMMANDANTRAID] = true,
- [TEAM_COLONELRAID] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- -- DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement