Problème jobs.lua de mon serveur gmod

  • Initiateur de la discussion
ReZkAA77

ReZkAA77

Bambi
Messages
8
Score réaction
0
Points
30
Bonjour j'ai un probleme sur mon serveur j'ai créer plein de métiers dans le documents jobs.lua et j'ai des métiers qui y sont mais d'autres pas et dans ma console de mon serveur sa me met ceci.
[ERROR] A runtime error has occurred in "addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua" on line 185.
The best help I can give you is this:
Corrupt team: Gangster!
This job does not have a unique command.
Hints:
- There must be some other job that has the same command.
- Fix this by changing the 'command' of your job to something else.
The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua on line 185
2. function 'xpcall'
3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 477
4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
5. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
7. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
8. gamemodes/darkrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
1. error - [C]:-1
2. doInclude - gCouldn't Load Init Script: 'darkrp/gamemode/init.lua'
Pouvez vous m'aider s'il vous plait car je sais pas quoi faire pour info la je n'ai pas d'hebergeur car un investisseur veux bien mais att que je finnissent le serv en "brouillon" pour voir si j'y arrive ou pas.
Merci d'avance et bonne soirée.
 
NIL

NIL

Geek suprême
Messages
676
Score réaction
165
Points
160
" line 185."
 
  • Initiateur de la discussion
ReZkAA77

ReZkAA77

Bambi
Messages
8
Score réaction
0
Points
30
Justement j'ai déjà regarder mais pour moi tout a l'air correct
 
Zokeen

Zokeen

Geek
Messages
114
Score réaction
14
Points
90
Envoie en pastebin tes jobs,
" This job does not have a unique command. "​
 
  • Initiateur de la discussion
ReZkAA77

ReZkAA77

Bambi
Messages
8
Score réaction
0
Points
30
je peux vous envoyer le doc au pire
 
Zokeen

Zokeen

Geek
Messages
114
Score réaction
14
Points
90
Envoie, envoie
 
M

Membre supprimé 70413

Anonyme
 
  • Initiateur de la discussion
ReZkAA77

ReZkAA77

Bambi
Messages
8
Score réaction
0
Points
30
--[[---------------------------------------------------------------------------
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_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_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_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_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)
 
  • Initiateur de la discussion
ReZkAA77

ReZkAA77

Bambi
Messages
8
Score réaction
0
Points
30
OK Slawer merci je vais essayer de faire bien
 
NoaGamingFR

NoaGamingFR

Wait :)
Messages
3 650
Score réaction
625
Points
340
Kitsu

Kitsu

Chuck Norris
Messages
6 076
Score réaction
2 505
Points
740
Bonsoir, ce qui paraît étonnant c'est que tu n'as la command "gangster" qu'une seule fois ... Alors est-ce que le fait que ton job gangster soit collé a ton job chef des gangsters créer un conflit ? Car line 185 c'est la ligne qui débute le job chef des gangsters . Je pense que le fait que le "}) suivi directement à la ligne du dessous de TEAM_CHEFGANG = DarkRP.createJob("Chef des gangsters", {

Créer un léger conflit de ligne décolle le }) et la ligne 185 d'un espace. Sinon c'est le fait que tes deux jobs entrent en conflit a cause de leurs commands qui se ressemblent. Mais ça doit venir du fait que c'est collé.
Dans le cas où c'est ça tu devras décollé tes jobs. Mais je peux me tromper .
 
séméron23

séméron23

Psychopathe
Messages
1 305
Score réaction
310
Points
290
je me trompe peut être mais dans ta commande gangster je crois pas que tu à le droit de la terminer avec ça gangster..", <====

Bonne chance
 
Kitsu

Kitsu

Chuck Norris
Messages
6 076
Score réaction
2 505
Points
740
séméron23 à dit:
je me trompe peut être mais dans ta commande gangster je crois pas que tu à le droit de la terminer avec ça gangster..", <====

Bonne chance
avec quoi ? y a rien apres gangsters xD
 
séméron23

séméron23

Psychopathe
Messages
1 305
Score réaction
310
Points
290
Kitsu à dit:
avec quoi ? y a rien apres gangsters xD
C'est moi qu'est peut être bigleux mais sur mon tél + mon pc je voie 2 points ^^
 
Kitsu

Kitsu

Chuck Norris
Messages
6 076
Score réaction
2 505
Points
740
séméron23 à dit:
C'est moi qu'est peut être bigleux mais sur mon tél + mon pc je voie 2 points ^^
Je suis sur pc et hier soir soir suur tel et meme apres avoir mit ses jobs sur sublime dans aucuun cas je n avais 2 points bizarre ton bug
 
Discord d'entraide
Rejoignz-nous sur Discord