mes job ne marche pas

  • Initiateur de la discussion [lenny]
  • Date de début
  • Initiateur de la discussion
[lenny]

[lenny]

Geek
Messages
169
Score réaction
0
Points
65
mes job ne marche pas je vais aller dans darkrpmodification / lua / darkrp_customthings / job.lua
et je mais mes jobs:
--[[---------------------------------------------------------------------------
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_CITIZEN = DarkRP.createJob("Citoyen", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl",

},
description = [[Le citoyen actif est le membre d'une societe qui assume certaines responsabilites dans son environnement, bien que ce membre n'ait pas un role specifique.]],
weapons = {},
command = "citoyenn",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_JUGE = DarkRP.createJob("Juge", {
color = Color(25, 25, 170, 255),
model = {
"models/player/humans/suits1/male_04.mdl",
"models/player/humans/suits1/male_01.mdl",
},
description = [[Le juge est un magistrat qui remplit une fonction de jugement et non d'arbitrage dans une plaidoirie, qui est donc chargez de trancher les litiges opposant des parties, ou plaideurs .]],
weapons = {},
command = "juge",
max = 1,
salary = 120,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_AVOCAT = DarkRP.createJob("Avocat", {
color = Color(25, 25, 170, 255),
model = {
"models/player/humans/suits1/male_04.mdl",
"models/player/humans/suits1/male_01.mdl",
},
description = [[L'avocat est un juriste dont la fonction traditionnelle est de conseiller et de defendre ses clients, personnes physiques ou morales, en justice, en plaidant pour faire valoir leurs interets et, plus generalement, pour les representer. .]],
weapons = {},
command = "avocat",
max = 5,
salary = 200,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_JOURNAL = DarkRP.createJob("Journaliste", {
color = Color(20, 150, 20, 255),
model = {
"models/player/humans/suits1/male_04.mdl",
"models/player/humans/suits1/male_01.mdl",
},
description = [[Un journaliste est une personne dont la profession est de rassembler des informations, de rediger un article ou mettre en forme un reportage afin de presenter des faits qui contribuent à l'actualite et l'information du public. ]],
weapons = {},
command = "journaliste",
max = 3,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_POLICE = DarkRP.createJob("Agent de police", {
color = Color(25, 25, 170, 255),
model = {
"models/player/portal/f_police.mdl",
"models/player/portal/f_police2.mdl",
"models/player/portal/f_police3.mdl",
},
description = [[L'agent de police est un membre de la police, qu'il porte ou non l'uniforme et dont la fonction est de faire respecter la loi, de maintenir l'ordre et d'assurer la securite publique.]],
weapons = { "stunstick", "arrest_stick", "unarrest_stick", "door_ram", "stungun", "m9k_sig_p229r", "weapon_cuff_police", "weaponchecker","fas2_deagle"},
command = "policier",
max = 5,
salary = 600,
admin = 0,
vote = false,
hasRadio = true,
hasLicense = true,
candemote = false,

})

TEAM_MERCENAIRE = DarkRP.createJob("*VIP* Mercenaire", {
color = Color(75, 75, 75, 255),
model = {
"models/code_gs/50cent/50centplayer.mdl",

},
description = [[Un mercenaire est un combattant de metier qui est recrutez moyennant finance par un etat, une entreprise, un mouvement politique, ou toute autre organisation legale ou non .]],
weapons = {},
command = "mercenaire",
max = 1,
salary = 500,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:GetUserGroup() == "superadmin" end,
CustomCheckFailMsg = "Ce métier est VIP !"
})

TEAM_PARRAIN = DarkRP.createJob("Parrain", {
color = Color(80, 45, 0, 255),
model = {
"models/vito.mdl",


},
description = [[Le terme Parrain designe un chef d'une famille mafieuse.Il a essentiellement trois fonctions :une fonction dirigeante : il chapeaute le crime ,une fonction de mediateur pour arbitrer les conflits à l'intérieur de sa famille au sens large ;
une fonction de conseiller des petites gens1.Il se distingue des autres mafieux par son audace, sa ferocite (on pense ici par exemple à Don Corleone), un sens aigu des rapports de force et des relations humaines, et une autorite naturelle lui permettant de s'imposer aux autres. ]],
weapons = {},
command = "parrain",
max = 1,
salary = 400,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_MAFIA = DarkRP.createJob("Mafia", {
color = Color(80, 45, 0, 255),
model = {
"models/fearless/mafia09.mdl",
"models/fearless/mafia04.mdl",
"models/fearless/mafia06.mdl",

},
description = [[Une mafia est une organisation criminelle dont les activites sont soumises a une direction collegiale occulte et qui repose sur une strategie d’infiltration de la societe civile et des institutions. On parle egalement de systeme mafieux. Les membres sont appeles « mafieux »]],
weapons = {},
command = "mafia",
max = 5,
salary = 300,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_GANG = DarkRP.createJob("Gangster", {
color = Color(75, 75, 75, 255),
model = {
"models/ms13/slow_1.mdl",
"models/ms13/slow_2.mdl",
"models/ms13/slow_3.mdl",

},
description = [[Un gangstere fait partie d'un gang,le gangstérisme regroupe tous types d'actions interdites, Kidnaping,raquette,prise d'otage.]],
weapons = {},
command = "gangster",
max = 4,
salary = 300,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_CHEFGANG = DarkRP.createJob("Chef des gangsters", {
color = Color(75, 75, 75, 255),
model = {
"models/ms13/slow_1.mdl",
"models/ms13/slow_2.mdl",
"models/ms13/slow_3.mdl",

},
description = [[Le chef des gangsters est le patron des criminels dans la ville. Avec sa puissance, il coordonne les gangsters et forme une organisation du crime efficace. Il a la capacite de penetrer dans des maisons en utilisant son lockpick. Le chef des gangsters possede la capacite de vous liberer de prison.]],
weapons = {},
command = "chefgangster",
max = 1,
salary = 400,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_HITMAN = DarkRP.createJob("Tueur a gage", {
color = Color(75, 75, 75, 255),
model = {
"models/suits/male_04_open_waistcoat.mdl",
"models/suits/male_04_shirt_tie.mdl",

},
description = [[Prenez les contrats de vos clients.]],
weapons = {"m9k_intervention"},
command = "tueur",
max = 1,
salary = 500,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_GUNDEALER = DarkRP.createJob("Vendeur d'armes", {
color = Color(255, 140, 0, 255),
model = {
"models/grandtheftauto5/trevor.mdl",

},
description = [[Le vendeur d'armes est la seule personne qui peut vendre des armes a d'autres personnes. Assurez-vous que vous n'etes pas pris à vendre des armes a feu illegales au public! Vous pourriez etre arretez!]],
weapons = {},
command = "gundealer",
max = 2,
salary = 60,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_Dealer = DarkRP.createJob("Dealer", {
color = Color(255, 140, 0, 255),
model = {
"models/grandtheftauto5/franklin.mdl",

},
description = [[Le dealer est un vendeur de drogue, produits illicites ou dopants. Ce terme s'applique aux petits revendeurs de rue et de parc et pour de petites quantites de produits. On rencontre aussi le terme trafiquant]],
weapons = {},
command = "dealer",
max = 2,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_BAZARD = DarkRP.createJob("Quincailler", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl",

},
description = [[Une quincaillerie est un type de commerce de detail, destine au professionnel ou au particulier, vendant principalement des outils, des fournitures et materiel de bricolage, ou des ustensiles menagers. On appelle quincaillier le responsable de ce commerce.]],
weapons = {},
command = "quincailler",
max = 2,
salary = 250,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_MEDIC = DarkRP.createJob("MEDIC", {
color = Color(20, 150, 20, 255),
model = {
"models/player/blackmesa_scientific.mdl",

},
description = [[Un docteur est un professionnel de la sante titulaire d'un diplôme de docteur en médecine. Il soigne les maladies, pathologies et blessures. Il travaille generalement au sein d'une equipe de professionnels de la sante. Faites un clic droit avec le kit médical pour vous soigner.]],
weapons = {"weapon_medkit"},
command = "docteur medic",
max = 3,
salary = 600,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_CHIEF = DarkRP.createJob("Commissaire", {
color = Color(25, 25, 170, 255),
model = {
"models/player/portal/f_police5_armor.mdl",

},
description = [[Le commisaire coordonne les policiers, il dirige le commissariat et c'est lui qui dirige les operations. Respectez le sous peine d'etre virez de la police.]],
weapons = { "stunstick", "arrest_stick", "unarrest_stick", "door_ram", "stungun", "m9k_sig_p229r", "m9k_famas", "weapon_cuff_police", "weaponchecker","fas2_deagle"},
command = "commmissaire",
max = 1,
salary = 800,
admin = 0,
vote = false,
hasRadio = true,
hasLicense = true,
candemote = false,

})

TEAM_MAYOR = DarkRP.createJob("Maire", {
color = Color(150, 20, 20, 255),
model = {
"models/obama/obama.mdl",

},
description = [[Le maire est une personne physique representant l'autorite municipale. Dans de nombreux cas, il est le detenteur du pouvoir, et doit garder la bonne economie au sein de sa ville !]],
weapons = {m9k_deagle},
command = "maire",
max = 1,
salary = 1500,
admin = 0,
vote = true,
hasLicense = false,
candemote = false,
mayor = true,
PlayerDeath = function(ply)
if ply:Team() == TEAM_MAYOR then
ply:changeTeam( TEAM_CITIZEN, true )
for k,v in pairs( player.GetAll() ) do
DarkRP.notify(v, 1, 4, "Le Maire est Decede")
end
end
end,
})

TEAM_HACK = DarkRP.createJob("*VIP* Hacker", {
color = Color(75, 75, 75, 255),
model = {
"models/h-d/2sg/simonplayer.mdl",


},
description = [[En securite informatique, un hacker est un specialiste dans la maîtrise de la securite informatique et donc des moyens de déjouer cette securite. Certains d'entre eux utilisent ce savoir-faire dans un cadre illegal pour pirater des atm.]],
weapons = {"weapon_arc_atmhack"},
command = "hacker",
max = 3,
salary = 120,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:GetUserGroup() == "superadmin" end,
CustomCheckFailMsg = "Ce métier est VIP !"
})

TEAM_HOBO = DarkRP.createJob("SDF", {
color = Color(80, 45, 0, 255),
model = {
"models/h-d/2sg/simonplayer.mdl",

},
description = [[Vous avez perdu toutes vos économies, maisons etc.. ]],
weapons = {},
command = "sdf",
max = 5,
salary = 10,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
})

TEAM_BANK = DarkRP.createJob("Banquier", {
color = Color(255, 0, 168, 255),
model = {
"models/player/humans/suits1/male_04.mdl",
"models/player/humans/suits1/male_01.mdl",


},
description = [[Occupez vous des printers de vos clients.]],
weapons = {},
command = "banquier",
max = 1,
salary = 140,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_SWAT = DarkRP.createJob("GIGN", {
color = Color(75, 0, 130, 255),
model = {"models/gign remasteredhd.mdl"},
description = [[Un SWAT, acronyme de Special Weapons and Tactics, est une unite specialisee existante dans les principales polices, capable de mener des operations a hauts risques avec un armement et des tactiques adaptees.Ses missions peuvent consister en des assauts coordonnes contre des objectifs choisis tels que des criminels lourdement armes dans des lieux retranches..]],
weapons = {"weapon_arc_atmcard", "stunstick", "arrest_stick", "unarrest_stick", "door_ram", "stungun", "m9k_sig_p229r", "m9k_m16a4_acog", "weapon_cuff_police", "weaponchecker","fas2_deagle","fas2_famas"},
command = "gign",
max = 2,
salary = 900,
admin = 0,
vote = false,
hasRadio = true,
hasLicense = true,
candemote = false,

})

TEAM_SWATCHEF = DarkRP.createJob("*VIP* Chef du GIGN", {
color = Color(75, 0, 130, 255),
model = {
"models/gign remasteredhdnpc.mdl",
"models/gign remasteredhd.mdl",
},
description = [[Dirigez votre unité du S.W.A.T]],
weapons = { "stunstick", "arrest_stick", "unarrest_stick", "door_ram", "stungun", "m9k_sig_p229r", "m9k_an94", "weapon_cuff_police", "weaponchecker"},
command = "chefgign",
max = 1,
salary = 1000,
admin = 0,
vote = false,
hasRadio = true,
hasLicense = true,
candemote = false,
customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:GetUserGroup() == "superadmin" end,
CustomCheckFailMsg = "Ce métier est VIP !"

})

TEAM_VOLEUR = DarkRP.createJob("Voleur", {
color = Color(75, 75, 75, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl",

},
description = [[volez tout ce que vous pouvez avec les outils fournis avec votre job.]],
weapons = {"lockpick", "keypad_cracker"},
command = "voleur",
max = 4,
salary = 90,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_PSYCHO = DarkRP.createJob("*VIP* Psycopathe", {
color = Color(255, 0, 168, 255),
model = {
"models/newinfec/newhun.mdl",


},
description = [[Tuez toutes vos proies dans un endroit discret sans temoin(s). Il ne doit pas y avoir de temoin(s) !]],
weapons = { "m9k_machete", "m9k_knife"},
command = "psychopathe",
max = 2,
salary = 90,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:GetUserGroup() == "superadmin" end,
CustomCheckFailMsg = "Ce métier est VIP !"
})

TEAM_BRAQUEUR = DarkRP.createJob("*VIP* Braqueur", {
color = Color(75, 75, 75, 255),
model = {
"models/player/pd2_chains_p.mdl",
"models/player/pd2_dallas_p.mdl",
"models/player/pd2_hoxton_p.mdl",
"models/player/pd2_wolf_p.mdl",

},
description = [[Un braquage est un vol a main armee dans une banque ou dans un magasin generalement dans le but d'y derober de l'argent ou des objets de valeur. Dans la plupart des juridictions nationales le braquage est un crime..]],
weapons = {},
command = "braqueur..",
max = 4,
salary = 260,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:GetUserGroup() == "superadmin" end,
CustomCheckFailMsg = "Ce métier est VIP !"
})

TEAM_GARDE = DarkRP.createJob("Garde du corps", {
color = Color(150, 20, 20, 255),
model = {
"models/player/humans/suits1/male_04.mdl",
"models/player/humans/suits1/male_01.mdl",


},
description = [[n Garde du Corps est un individu dont la fonction est de proteger le corps, et donc la vie, d'une personne a laquelle il est attachez.]],
weapons = {"stunstick", "weaponchecker"},
command = "gardecorps",
max = 4,
salary = 500,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,

})

TEAM_SECRETAIRE = DarkRP.createJob("Secretaire du Maire", {
color = Color(150, 20, 20, 255),
model = {
"models/11thdoctor/thedoctor.mdl",
},
description = [[Vous etes la secretaire du maire, occupez vous de ses rendez-vous.]],
weapons = {},
command = "secretaire",
max = 1,
salary = 200,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_BAC = DarkRP.createJob("*VIP* BAC", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl",

},
description = [[Faites /job Citoyen pour vous camoufler en citoyen. Votre but est d'infiltre des reseaux ou meme patrouiller dans la rue en civil pour que les gens vous confonde avec des citoyens.]],
weapons = { "stunstick", "arrest_stick", "unarrest_stick", "door_ram", "stungun", "m9k_sig_p229r", "weaponchecker", "weapon_cuff_police", "fas2_famas"},
command = "bac",
max = 4,
salary = 900,
admin = 0,
vote = false,
hasRadio = true,
hasLicense = true,
candemote = false,
customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:GetUserGroup() == "superadmin" end,
CustomCheckFailMsg = "Ce métier est VIP !"
})

TEAM_BARMAN = DarkRP.createJob("Barman", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl",

},
description = [[Creez votre bar et vendez de la biere, de l'eau, de l'aspirine et des cigarettes a vos clients.]],
weapons = {},
command = "barman",
max = 2,
salary = 400,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_ADMIN = DarkRP.createJob("Administrateur", {
color = Color(255, 0, 0, 255),
model = {
"models/quinap/players/deadpoolcartoonyred.mdl",
},
description = [[Job pour les admins.]],
weapons = { "freezegun"},
command = "administrateur",
max = 10,
salary = 1000,
admin = 1,
vote = false,
hasLicense = true,
candemote = false,

})

TEAM_FONDA = DarkRP.createJob("Fondateur", {
color = Color(255, 0, 0, 255),
model = {
"models/Pokemon/Red_Body"
},
description = [[Job pour les fondas]],
weapons = { "freezegun", "m9k_dbarrel", "stungun"},
command = "fondateur",
max = 10,
salary = 2000,
admin = 2,
vote = false,
hasLicense = true,
candemote = false,

})

TEAM_BLOODZ = DarkRP.createJob("Bloodz", {
color = Color(255, 0, 0, 255),
model = {
"models/player/bloodz/slow_1.mdl",
"models/player/bloodz/slow_2.mdl",
"models/player/bloodz/slow_3.mdl",

},
description = [[Vos ennemies jures sont les Cripz. Vous etes un gang qui se differencit des autres.]],
weapons = {},
command = "bloodz",
max = 4,
salary = 220,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_CRIPZ = DarkRP.createJob("Cripz", {
color = Color(0, 0, 0, 255),
model = {
"models/player/cripz/slow_1.mdl",
"models/player/cripz/slow_2.mdl",
"models/player/cripz/slow_3.mdl",

},
description = [[Vos ennemies jures sont les Bloodz. Vous etes un gang qui se differencit des autres.]],
weapons = {},
command = "cripz",
max = 4,
salary = 220,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_VIOL = DarkRP.createJob("*VIP* Violeur", {
color = Color(0, 0, 0, 255),
model = {
"models/obese_male.mdl",

},
description = [[Vous etes un violeur, vous vivez dans les endroits clos et vous vivez de vos fantasmes a violer des personnes comme un psycopathe.(Vous ne devez pas vous faire voir entrain de violer !)]],
weapons = {},
command = "violeur",
max = 4,
salary = 300,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:GetUserGroup() == "superadmin" end,
CustomCheckFailMsg = "Ce métier est VIP !"
})

TEAM_BUS = DarkRP.createJob("Chauffeur de bus", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl",

},
description = [[]],
weapons = {},
command = "bus",
max = 1,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_LIVREUR = DarkRP.createJob("Livreur", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl",

},
description = [[otre job est de livrer les personnes en nourriture, armes ou meme equipements illegaux. Travaillez pour cuisinier, vendeur d'armes ou quincailler ou autres.]],
weapons = {},
command = "livreur",
max = 4,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_TAXI = DarkRP.createJob("Chauffeur de taxi", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl",

},
description = [[Votre job est d'amener les personnes ou elles veulent avec votre taxi.]],
weapons = {},
command = "taxi",
max = 2,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_CHANT = DarkRP.createJob("Chanteur", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl",

},
description = [[vous chantez contre de l'argent]],
weapons = {},
command = "chanteur",
max = 0,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_PHOTO = DarkRP.createJob("Photographe", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl",

},
description = [[L'agent de police est un membre de la police, qu'il porte ou non l'uniforme et dont la fonction est de faire respecter la loi, de maintenir l'ordre et d'assurer la securite publique.]],
weapons = {},
command = "photographe",
max = 0,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_DECO = DarkRP.createJob("Decorateur d'interieur", {
color = Color(20, 150, 20, 255),
model = {
"models/player/humans/suits1/male_04.mdl",
"models/player/humans/suits1/male_01.mdl",

},
description = [[L'agent de police est un membre de la police, qu'il porte ou non l'uniforme et dont la fonction est de faire respecter la loi, de maintenir l'ordre et d'assurer la securite publique.]],
weapons = {},
command = "decorateur",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_IMMO = DarkRP.createJob("Agent immobilier ", {
color = Color(20, 150, 20, 255),
model = {
"models/player/humans/suits1/male_04.mdl",
"models/player/humans/suits1/male_01.mdl",

},
description = [[L'agent de police est un membre de la police, qu'il porte ou non l'uniforme et dont la fonction est de faire respecter la loi, de maintenir l'ordre et d'assurer la securite publique.]],
weapons = {},
command = "immobilier",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_MILITAIRE = DarkRP.createJob("*VIP* Militaire", {
color = Color(20, 150, 20, 255),
model = {
"models/aa3hacks/aa3male01_player.mdl",
"models/aa3hacks/aa3male02_player.mdl",


},
description = [[Le citoyen actif est le membre d'une societe qui assume certaines responsabilites dans son environnement, bien que ce membre n'ait pas un role specifique.]],
weapons = {"stungun", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "m9k_m416", "weapon_cuff_police", "weapon_cuff_elastic"},
command = "militaire",
max = 4,
salary = 1000,
admin = 0,
vote = false,
hasRadio = true,
hasLicense = false,
candemote = false,
customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:GetUserGroup() == "superadmin" end,
CustomCheckFailMsg = "Ce métier est VIP !"
})

TEAM_METH = DarkRP.createJob("Fabriquant de meth", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl",


},
description = [[Le citoyen actif est le membre d'une societe qui assume certaines responsabilites dans son environnement, bien que ce membre n'ait pas un role specifique.]],
weapons = {},
command = "met",
max = 4,
salary = 60,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,

})

TEAM_MILITAIRECHIEF = DarkRP.createJob("*VIP* Chef De L'armee", {
color = Color(20, 150, 20, 255),
model = {
"models/aa3hacks/aa3male01_player.mdl",
"models/aa3hacks/aa3male02_player.mdl",


},
description = [[Le citoyen actif est le membre d'une societe qui assume certaines responsabilites dans son environnement, bien que ce membre n'ait pas un role specifique.]],
weapons = {"stungun", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "m9k_m416", "weapon_cuff_police", "weapon_cuff_elastic"},
command = "militairechef",
max = 1,
salary = 1000,
admin = 0,
vote = false,
hasRadio = true,
hasLicense = false,
candemote = false,
customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:GetUserGroup() == "superadmin" end,
CustomCheckFailMsg = "Ce métier est VIP !"
})

TEAM_SNIPAR = DarkRP.createJob("*VIP* Sniper De L'armee", {
color = Color(20, 150, 20, 255),
model = {
"models/aa3hacks/aa3male01_player.mdl",
"models/aa3hacks/aa3male02_player.mdl",


},
description = [[Le citoyen actif est le membre d'une societe qui assume certaines responsabilites dans son environnement, bien que ce membre n'ait pas un role specifique.]],
weapons = {"stungun", "arrest_stick", "unarrest_stick", "m9k_intervention", "stunstick", "door_ram", "weaponchecker", "m9k_m416", "weapon_cuff_police", "weapon_cuff_elastic"},
command = "snipar",
max = 1,
salary = 1000,
admin = 0,
vote = false,
hasRadio = true,
hasLicense = false,
candemote = false,
customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:GetUserGroup() == "superadmin" end,
CustomCheckFailMsg = "Ce métier est VIP !"
})

TEAM_SWATSNIP = DarkRP.createJob("*VIP* Sniper du GIGN", {
color = Color(75, 0, 130, 255),
model = {
"models/gign remasteredhdnpc.mdl",
"models/gign remasteredhd.mdl",
},
description = [[Dirigez votre unité du S.W.A.T]],
weapons = { "stunstick", "arrest_stick", "unarrest_stick", "door_ram", "stungun", "m9k_sig_p229r", "m9k_an94", "weapon_cuff_police", "weaponchecker", "m9k_m24"},
command = "snipgign",
max = 1,
salary = 600,
admin = 0,
vote = false,
hasRadio = true,
hasLicense = true,
candemote = false,
customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:GetUserGroup() == "superadmin" end,
CustomCheckFailMsg = "Ce métier est VIP !"

})

TEAM_GARDEB = DarkRP.createJob("Garde de La Banque", {
color = Color(150, 20, 20, 255),
model = {
"models/player/humans/suits1/male_04.mdl",
"models/player/humans/suits1/male_01.mdl",


},
description = [[n Garde du Corps est un individu dont la fonction est de proteger le corps, et donc la vie, d'une personne a laquelle il est attachez.]],
weapons = {"stunstick", "weaponchecker", "m9k_m416"},
command = "gardebanque",
max = 2,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,

})

TEAM_GOSSES = DarkRP.createJob("Enfants", {
color = Color(20, 150, 20, 255),
model = {
"models/lucas.mdl",
"models/ness.mdl",

},
description = [[je suis un enfants le but étant de jouer rp en étant un enfant d'environ 10 ans]],
weapons = {},
command = "gosses",
max = 2,
salary = 20,
admin = 0,
vote = true,
hasLicense = false,
candemote = false,

})

TEAM_CHIEN = DarkRP.createJob("Chien de Police", {
color = Color(20, 150, 20, 255),
model = {
"models/doge_player/doge_player.mdl",

},
description = [[no]],
weapons = {},
command = "chien",
max = 2,
salary = 0,
admin = 0,
vote = true,
hasLicense = false,
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_POLICE] = true,
[TEAM_CHIEF] = true,
[TEAM_BAC] = true,
[TEAM_SWATCHEF] = true,
[TEAM_SWAT] = true,


}

--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_HITMAN)
 
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
Faut arrêter de se foutre de la tête des gens la! Tu poses à question dans un de tes ancien post et je te dis d'utiliser la balise CODE en t'expliquant comment faire et toi tu repost tout comme sa a l'arrache !

Utilise les balise [CODE ] et [/CODE ] et dit nous l'erreur que tu as dans ta console pour les jobs.
 
  • Initiateur de la discussion
[lenny]

[lenny]

Geek
Messages
169
Score réaction
0
Points
65
Zaros_Live à dit:
Faut arrêter de se foutre de la tête des gens la! Tu poses à question dans un de tes ancien post et je te dis d'utiliser la balise CODE en t'expliquant comment faire et toi tu repost tout comme sa a l'arrache !

Utilise les balise [CODE ] et [/CODE ] et dit nous l'erreur que tu as dans ta console pour les jobs.
mon erreur est que j'ai mis ses job dans le dossier job.lua et sa ne marche pas
 
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
[lenny] à dit:
mon erreur est que j'ai mis ses job dans le dossier job.lua et sa ne marche pas
FailFish
 
  • Initiateur de la discussion
[lenny]

[lenny]

Geek
Messages
169
Score réaction
0
Points
65
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
[lenny] à dit:
mais comment faire
Tu es désespérant, je te demande de mettre les balise CODE (en t'expliquant sur ton autre post) se que tu n'as pas fais et quand je te demande l'erreur dans ta console tu me répond:
[lenny] à dit:
mon erreur est que j'ai mis ses job dans le dossier job.lua et sa ne marche pas
Sa donne l'impression de parler à un mur....
 
  • Initiateur de la discussion
[lenny]

[lenny]

Geek
Messages
169
Score réaction
0
Points
65
Zaros_Live à dit:
Tu es désespérant, je te demande de mettre les balise CODE (en t'expliquant sur ton autre post) se que tu n'as pas fais et quand je te demande l'erreur dans ta console tu me répond:

Sa donne l'impression de parler à un mur....
i y a pas d'erreur dans la console
 
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
Tu as bien mit des jobs dans le fichier jobs.lua ?
 
ally

ally

Geek suprême
Messages
337
Score réaction
64
Points
100
[lenny] à dit:
mon erreur est que j'ai mis ses job dans le dossier job.lua et sa ne marche pas
ohh merde...FailFish
 
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
ally

ally

Geek suprême
Messages
337
Score réaction
64
Points
100
Zaros_Live à dit:
Prend la relève car la j'en peux plus BibleThump
Nan la c'est pas possible je peux plus rien faire la
 
  • Initiateur de la discussion
[lenny]

[lenny]

Geek
Messages
169
Score réaction
0
Points
65
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
[lenny] à dit:
Tien va la dessus: https://pastebin.com/ et tu copie tout tes jobs, puis tu envoie le lien.
 
_Remax

_Remax

Geek
Messages
345
Score réaction
69
Points
80
On arrête le massacre toute suite

------------------------------

Avant de te lancer dans quelconque projet renseigne toi regarde des tutoriels car la création de jobs pour le gamemode darkrp un enfant qui n'as même pas apprit à marcher pourrait le faire

Donc va sur httpS://youtube.com

Ecrit : Créer un serveur DARKRP
ou sinon : CLIQUE ICI


 
  • Initiateur de la discussion
[lenny]

[lenny]

Geek
Messages
169
Score réaction
0
Points
65
Zaros_Live à dit:
Tien va la dessus: https://pastebin.com/ et tu copie tout tes jobs, puis tu envoie le lien.
https://pastebin.com/apbFLkXv
 
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
[lenny] à dit:
https://pastebin.com/apbFLkXv
Y a 1 100 ligne donc la flemme de tout regarder... essaye de supp tout tes jobs et les ajouter petit à petit
 
  • Initiateur de la discussion
[lenny]

[lenny]

Geek
Messages
169
Score réaction
0
Points
65
Zaros_Live à dit:
Y a 1 100 ligne donc la flemme de tout regarder... essaye de supp tout tes jobs et les ajouter petit à petit
ok merci quand meme
 
Discord d'entraide
Rejoignz-nous sur Discord