- Initiateur de la discussion
A
Ange Dibostrovitch
Nouveau né
- Messages
- 4
- Score réaction
- 1
- Points
- 15
Bonjours
Apres avoir essayer de trouver ce p**** de problème 10 fois ! Je n'est toujours rien trouver , je me suis dis vu de la part d'autre personnes ca peut aidez
Voila , J'ai créer mes catégories ainsi que mes métiers , aucune erreur .lua , mais les catégories ne semble pas marchais ! Des idées ? Je suis PRENEUR !
CATÉGORIES :
DarkRP.createCategory{Apres avoir essayer de trouver ce p**** de problème 10 fois ! Je n'est toujours rien trouver , je me suis dis vu de la part d'autre personnes ca peut aidez
Voila , J'ai créer mes catégories ainsi que mes métiers , aucune erreur .lua , mais les catégories ne semble pas marchais ! Des idées ? Je suis PRENEUR !
CATÉGORIES :
name = "Gouvernement", -- The name of the category.
categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
color = Color(0, 107, 0, 255), -- The color of the category header.
canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
sortOrder = 2, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
}
DarkRP.createCategory{
name = "VIP", -- The name of the category.
categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
color = Color(0, 107, 0, 255), -- The color of the category header.
canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
sortOrder = 1, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
}
DarkRP.createCategory{
name = "Illegaux", -- The name of the category.
categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
color = Color(0, 107, 0, 255), -- The color of the category header.
canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
sortOrder = 3, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
}
DarkRP.createCategory{
name = "Legaux", -- The name of the category.
categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
color = Color(0, 107, 0, 255), -- The color of the category header.
canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
sortOrder = 4, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
}
DarkRP.createCategory{
name = "STAFF", -- The name of the category.
categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
color = Color(0, 107, 0, 255), -- The color of the category header.
canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
sortOrder = 100, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
}
DarkRP.createCategory{
name = "Commerce", -- The name of the category.
categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
color = Color(0, 107, 0, 255), -- The color of the category header.
canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
sortOrder = 5, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
}
LES MÉTIERS :
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 = {"weapon_arc_atmcard"},
command = "2251507167",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Legaux " ,
})
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 = { "weapon_arc_atmcard", "fas2_deagle"},
command = "3744223986",
max = 5,
salary = 600,
admin = 0,
vote = false,
hasRadio = true,
hasLicense = true,
candemote = false,
catégorie = " Gouvernement " ,
})
TEAM_MERCENAIRE = DarkRP.createJob("*VIP* Mercenaire", {
color = Color(75, 75, 75, 255),
model = {
"models/player/korka007/wick.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 = {"weapon_arc_atmcard", "weapon_kidnapper", "fas2_ragingbull"},
command = "1782844927",
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 !",
catégorie = " 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 = {"weapon_arc_atmcard", "fas2_ots33", "weapon_kidnapper"},
command = "1355759770",
max = 1,
salary = 400,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Illegaux " ,
})
TEAM_MAFIA = DarkRP.createJob("Mafieu", {
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 = {"weapon_arc_atmcard"},
command = "6250655502",
max = 5,
salary = 300,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Illegaux " ,
})
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 = {"weapon_arc_atmcard"},
command = "3102246473",
max = 4,
salary = 300,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Illegaux " ,
})
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 = {"weapon_arc_atmcard"},
command = "5620452306",
max = 1,
salary = 400,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Illegaux " ,
})
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 = {"weapon_arc_atmcard"},
command = "8915334145",
max = 1,
salary = 500,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Illegaux " ,
})
TEAM_GUN = DarkRP.createJob("Vendeur d'armes", {
color = Color(255, 140, 0, 255),
model = {
"models/minson97/bo2/defalco/defalco.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 = {"weapon_arc_atmcard"},
command = "5440199495",
max = 2,
salary = 60,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Commerce " ,
})
TEAM_MEDIC = DarkRP.createJob("Medecin", {
color = Color(20, 150, 20, 255),
model = {
"models/player/portal/male_02_medic.mdl",
"models/player/portal/male_04_medic.mdl",
"models/player/portal/male_05_medic.mdl",
"models/player/portal/male_06_medic.mdl",
"models/player/portal/male_07_medic.mdl",
"models/player/portal/male_08_medic.mdl",
"models/player/portal/male_09_medic.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_arc_atmcard"},
command = "2300384826",
max = 3,
salary = 600,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Legaux " ,
})
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 = { "weapon_arc_atmcard", "fas2_deagle"},
command = "7812565755",
max = 1,
salary = 800,
admin = 0,
vote = false,
hasRadio = true,
hasLicense = true,
candemote = false,
catégorie = " Gouvernement " ,
})
TEAM_MAYOR = DarkRP.createJob("Maire", {
color = Color(150, 20, 20, 255),
model = {
"models/gdub.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 = {"weapon_arc_atmcard"},
command = "8638289223",
max = 1,
salary = 1500,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Gouvernement " ,
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", "weapon_arc_atmcard", "fas2_p226"},
command = "2574672868",
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 !",
catégorie = " 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 = "9306031270",
max = 5,
salary = 10,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Legaux " ,
})
TEAM_BANK = DarkRP.createJob("Banquier", {
color = Color(255, 0, 168, 255),
model = {
"models/player/dr_schwaiger.mdl",
},
description = [[Occupez vous des printers de vos clients.]],
weapons = {"weapon_arc_atmcard"},
command = "banquier",
max = 1,
salary = 140,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Legaux " ,
})
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", "weapon_arc_atmcard"},
command = "2786954061",
max = 4,
salary = 90,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Illegaux " ,
})
TEAM_PSYCHO = DarkRP.createJob("*VIP* Psycopathe", {
color = Color(255, 0, 168, 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 = [[Tuez toutes vos proies dans un endroit discret sans temoin(s). Il ne doit pas y avoir de temoin(s) !]],
weapons = { "weapon_arc_atmcard", "csgo_flip_fade", "weapon_kidnapper"},
command = "3582167277",
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 !",
catégorie = " 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 = {"weapon_arc_atmcard", "fas2_deagle", "weapon_kidnapper"},
command = "4073200552",
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 !",
catégorie = " VIP " ,
})
TEAM_GARDE = DarkRP.createJob("Garde du corps", {
color = Color(150, 20, 20, 255),
model = {
"models/suits/male_01_open.mdl",
"models/suits/male_02_open.mdl",
"models/suits/male_03_open.mdl",
"models/suits/male_03_open.mdl",
"models/suits/male_04_open.mdl",
"models/suits/male_05_open.mdl",
"models/suits/male_06_open.mdl",
"models/suits/male_07_open.mdl",
"models/suits/male_08_open.mdl",
"models/suits/male_09_open.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 = {"weapon_arc_atmcard"},
command = "3682523411",
max = 4,
salary = 500,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
catégorie = " Legaux " ,
})
TEAM_SECRETAIRE = DarkRP.createJob("Secretaire du Maire", {
color = Color(150, 20, 20, 255),
model = {
"models/player/spike/strugglescrewb.mdl",
},
description = [[Vous etes la secretaire du maire, occupez vous de ses rendez-vous.]],
weapons = {},
command = "9250964406",
max = 1,
salary = 200,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Gouvernement " ,
})
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 = {"weapon_arc_atmcard", "fas2_famas"},
command = "8854281086",
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 !",
catégorie = " Gouvernement " ,
})
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 = {"weapon_arc_atmcard"},
command = "2258327305",
max = 2,
salary = 400,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Legaux " ,
})
TEAM_ADMIN = DarkRP.createJob("Administrateur", {
color = Color(255, 0, 0, 255),
model = {
"models/player/anon/anon.mdl",
},
description = [[Job pour les admins.]],
weapons = {"weapon_arc_atmcard"},
command = "5716947726",
max = 10,
salary = 1000,
admin = 1,
vote = false,
hasLicense = true,
candemote = false,
catégorie = " STAFF " ,
})
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 = {"weapon_arc_atmcard"},
command = "2223198169",
max = 4,
salary = 220,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Illegaux " ,
})
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 = {"weapon_arc_atmcard"},
command = "5459797481",
max = 4,
salary = 220,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Illegaux " ,
})
TEAM_VIOL = DarkRP.createJob("*VIP* Violeur", {
color = Color(0, 0, 0, 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 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 = {"weapon_arc_atmcard", "weapon_kidnapper", "csgo_m9_marblefade"},
command = "2401680395",
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 !",
catégorie = " VIP " ,
})
TEAM_BUS = DarkRP.createJob("Conducteur 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 = [[Vous etes le Conducteur de Bus de la Ville]],
weapons = {"weapon_arc_atmcard"},
command = "3895998249",
max = 1,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Legaux " ,
})
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 = {"weapon_arc_atmcard"},
command = "8993372991",
max = 4,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Legaux " ,
})
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 = {"weapon_arc_atmcard"},
command = "2418836317",
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 = {"weapon_arc_atmcard"},
command = "1836975792",
max = 0,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Legaux " ,
})
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 = {"weapon_arc_atmcard"},
command = "6704102377",
max = 0,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Legaux " ,
})
TEAM_DECO = DarkRP.createJob("Decorateur d'interieur", {
color = Color(20, 150, 20, 255),
model = {
"models/suits/male_07_open.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 = {"weapon_arc_atmcard"},
command = "1654726982",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Legaux " ,
})
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 = {"weapon_arc_atmcard"},
command = "6000417148",
max = 4,
salary = 60,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
catégorie = " Illegaux " ,
})
TEAM_GARDEB = DarkRP.createJob("Garde de La Banque", {
color = Color(150, 20, 20, 255),
model = {
"models/suits/male_03_open.mdl",
"models/suits/male_05_closed_coat_tie.mdl",
"models/suits/male_06_open_tie.mdl",
"models/suits/male_07_open_tie.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 = {"weapon_arc_atmcard"},
command = "5915261415",
max = 2,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
catégorie = " Legaux " ,
})
TEAM_GOSSES = DarkRP.createJob("Enfants", {
color = Color(20, 150, 20, 255),
model = {
"models/lucius.mdl",
},
description = [[je suis un enfants le but étant de jouer rp en étant un enfant d'environ 10 ans]],
weapons = {"weapon_arc_atmcard"},
command = "3079401912",
max = 2,
salary = 20,
admin = 0,
vote = true,
hasLicense = false,
candemote = false,
catégorie = " Legaux " ,
})
--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_REIN = DarkRP.createJob("*VIP* Trafiquant d'organes", {
color = Color(21, 117, 42, 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 devez prendre les reins des personnes]],
weapons = {"weapon_arc_atmcard", "scalpel", "fas2_m1911", "weapon_kidnapper"},
command = "4210568658",
max = 1,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
catégorie = " VIP " ,
customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:GetUserGroup() == "superadmin" end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "Il a eu un mort")
end
})
TEAM_BRINKS = DarkRP.createJob("Conducteur de Brinks", {
color = Color(150, 20, 20, 255),
model = {
"models/suits/male_03_open.mdl",
"models/suits/male_05_closed_coat_tie.mdl",
"models/suits/male_06_open_tie.mdl",
"models/suits/male_07_open_tie.mdl",
},
description = [[Le Conducteur de Brinks est un metiers dangereux mais qui et bien remunerer par la suite ! ]],
weapons = {"weapon_arc_atmcard"},
command = "3052407060",
max = 2,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
catégorie = " Legaux " ,
})
--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_TERRORISTE = DarkRP.createJob("*VIP* Terroriste", {
color = Color(95, 179, 30, 255),
model = {
"models/player/kuma/alqaeda_commando.mdl",
"models/player/kuma/taliban_bomber.mdl",
"models/player/kuma/taliban_grunt.mdl",
"models/player/kuma/taliban_rpg.mdl"
},
description = [[Votre but est de faire péter les gens !]],
weapons = {"fas2_ak47", "weapon_arc_atmcard", "weapon_jihadbomb"},
command = "9073935875",
max = 1,
salary = 25,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
catégorie = " VIP " ,
})
--[[---------------------------------------------------------------------------
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,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_HITMAN)
DESOLEZ JE SAIS QUE CA VA PIQUEZ LES YEUX A LA BLOC-NOTE :/
Merci de m'aidez bonne journée !
Merci de m'aidez bonne journée !