BUG SKIN

  • Initiateur de la discussion mathis77480
  • Date de début
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
J'ai un bug avec les skins on garde toujours les même ex un raid aura le skin d'un citoyen help plz
 
WDAIOS

WDAIOS

Geek
Messages
66
Score réaction
6
Points
65
normal il faut changer les models :) dans le job.lua
 
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
JE LAI FAIT
 
WDAIOS

WDAIOS

Geek
Messages
66
Score réaction
6
Points
65
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
EST CE QUE SA PEUT ETRE LIER QUIL MANQUE DES MODEL DANS LA COLLECTION????
 
WDAIOS

WDAIOS

Geek
Messages
66
Score réaction
6
Points
65
mathis77480 à dit:
EST CE QUE SA PEUT ETRE LIER QUIL MANQUE DES MODEL DANS LA COLLECTION????
non s'il manquait des models dan sla collection tu les verrais in game en error , je répéte as tu touchés au jobrelated.lua ? qui se trouve dans le gamemode DarkRP
 
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
NONONOONONONONOON
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 289
Score réaction
9 688
Points
1 845
BONJOUR MA TOUCHE MAJ EST BLOQUER
 
  • J'aime
Réactions: Zozo147, JavaDa et melcez
Jason_Oubout

Jason_Oubout

Geek suprême
Messages
595
Score réaction
189
Points
130
À mes yeux relâche ta main gauche
 
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
Quelqu'un peux m'aider svp
 
_Remax

_Remax

Geek
Messages
345
Score réaction
69
Points
80
Fais nous voir ton jobs.lua
 
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
Il est hyper grand mais comme tu veux
 
_Remax

_Remax

Geek
Messages
345
Score réaction
69
Points
80
Met le dans une balise CODE
 
Jason_Oubout

Jason_Oubout

Geek suprême
Messages
595
Score réaction
189
Points
130
Oui mais passe
 
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
--[[---------------------------------------------------------------------------
DarkRP custom jobs
---------------------------------------------------------------------------
This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.

Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
Once you've done that, copy and paste the job to this file and edit it.

The default jobs can be found here:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua

For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields

Add your custom jobs under the following line:
---------------------------------------------------------------------------]]
TEAM_CITIZEN = DarkRP.createJob("Chomeur", {
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 = [[Tu es chomeur tu gagne rien ]],
weapons = {},
command = "citizen",
max = 0,
salary = 0,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
candemote = false,
category = "Citizens",
})

TEAM_GANG = DarkRP.createJob("Gangster", {
color = Color(75, 75, 75, 255),
model = {
"models/player/Group03/Female_01.mdl",
"models/player/Group03/Female_02.mdl",
"models/player/Group03/Female_03.mdl",
"models/player/Group03/Female_04.mdl",
"models/player/Group03/Female_06.mdl",
"models/player/group03/male_01.mdl",
"models/player/Group03/Male_02.mdl",
"models/player/Group03/male_03.mdl",
"models/player/Group03/Male_04.mdl",
"models/player/Group03/Male_05.mdl",
"models/player/Group03/Male_06.mdl",
"models/player/Group03/Male_07.mdl",
"models/player/Group03/Male_08.mdl",
"models/player/Group03/Male_09.mdl"},
description = [[Tu es Gangster tu dois faire des choses illégal ]],
weapons = {},
command = "gangster",
max = 3,
salary = 900,
admin = 0,
vote = false,
type = crime,
hasLicense = false,
})

TEAM_MOB = DarkRP.createJob("*VIP* Chef des Gangster", {
color = Color(25, 25, 25, 255),
model = "models/player/gman_high.mdl",
description = [[Tu es chef des gangsters du dirige les gangsters]],
weapons = {},
command = "mobboss",
max = 1,
salary = 1000,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réservé au VIP",
})

TEAM_GUN = DarkRP.createJob("Vendeur d'armes", {
color = Color(255, 140, 0, 255),
model = "models/player/monk.mdl",
description = [[Tu es vendeur d'armes tu vends des armes contre de l'argent]],
weapons = {},
command = "gundealer",
max = 2,
salary = 1000,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
})

TEAM_MEDIC = DarkRP.createJob("Médecin", {
color = Color(47, 79, 79, 255),
model = "models/player/kleiner.mdl",
description = [[Tu es medecin tu gagnes tu soigne les gens contre de l'argent]],
weapons = {"med_kit"},
command = "medic",
max = 3,
salary = 2000,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
medic = true,
})

TEAM_MAYOR = DarkRP.createJob("Maire", {
color = Color(150, 20, 20, 255),
model = "models/obama/obama.mdl",
description = [[Tu es le maire de la ville du doit diriger la ville]],
weapons = {},
command = "mayor",
max = 1,
salary = 2500,
admin = 0,
vote = true,
type = commerce,
hasLicense = false,
mayor = true,
})

TEAM_HOBO = DarkRP.createJob("SDF", {
color = Color(80, 45, 0, 255),
model = "models/player/corpse1.mdl",
description = [[Tu es SDF tu demande de l'argent]],
weapons = {"weapon_bugbait"},
command = "hobo",
max = 5,
salary = 0,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
candemote = false,
hobo = true,
})


TEAM_POLICE = DarkRP.createJob("Policier", {
color = Color(20, 0, 255, 255),
model = {
"models/player/portal/f_police.mdl",
"models/player/portal/f_police2.mdl",
"models/player/portal/f_police5.mdl"
},
description = [[Tu es policier tu fait regner l'ordre sur la ville]],
weapons = {"m9k_m92beretta", "arrest_stick", "unarrest_stick", "weaponchecker", "stunstick", "door_ram", "weapon_cuff_police", "pass_police_nationale_1"},
command = "/policier",
max = 5,
salary = 1500,
admin = 0,
vote = true,
type = police,
hasLicense = true,
candemote = true,
ammo = {
["pistol"] = 45
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_POLICE = DarkRP.createJob("BAC", {
color = Color(0, 117, 5, 255),
model = {
"models/player/Group01/male_01.mdl",
"models/player/Group01/male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/male_04.mdl"
},
description = [[Tu es un agent de BAC tu dois t'infiltrer dans des magasins illégaux etc pour pouvoir les faire passer dérrière les barreaux]],
weapons = {"m9k_m92beretta", "arrest_stick", "unarrest_stick", "weaponchecker", "stunstick", "door_ram", "weapon_cuff_police", "pass_police_nationale_1"},
command = "/bac",
max = 2,
salary = 1600,
admin = 0,
vote = true,
type = police,
hasLicense = true,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_POLICE = DarkRP.createJob("RAID", {
color = Color(20, 0, 255, 255),
model = {"models/player/raid/raid_05.mdl"},
description = [[Tu es un RAID comme un policier mais en plus armés]],
weapons = {"m9k_m92beretta", "arrest_stick", "unarrest_stick", "weaponchecker", "stunstick", "m9k_remington870", "m9k_g36", "door_ram", "weapon_cuff_police", "pass_police_nationale_1"},
command = "/raid",
max = 4,
salary = 1600,
admin = 0,
vote = true,
type = police,
hasLicense = true,
candemote = true,
ammo = {
["pistol"] = 45,
["smg1"] = 60,
["shotgun"] = 20
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(45)
end
})

TEAM_POLICE = DarkRP.createJob("*VIP+* Chef RAID", {
color = Color(20, 0, 255, 255),
model = {"models/player/raid/raid_01.mdl"},
description = [[Tu dirige le RAID]],
weapons = {"m9k_m92beretta", "arrest_stick", "unarrest_stick", "weaponchecker", "stunstick", "m9k_remington870", "m9k_g36", "door_ram", "weapon_cuff_police", "pass_police_nationale_1"},
command = "/chefraid",
max = 1,
salary = 2000,
admin = 0,
vote = true,
type = police,
hasLicense = true,
candemote = true,
ammo = {
["shotgun"] = 20,
["smg1"] = 60,
["pistol"] = 45
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(50)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réservé au VIP+",
})

TEAM_GARDEDUMAIRE = DarkRP.createJob("Garde du maire", {
color = Color(255, 0, 0, 255),
model = {"models/fearless/02.mdl"},
description = [[Tu dois défendre le maire quoi qu'il se passe]],
weapons = {"m9k_usp"},
command = "/gardedumaire",
max = 3,
salary = 1200,
admin = 0,
vote = true,
type = commerce,
hasLicense = true,
candemote = true,
ammo = {
["pistol"] = 50
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_MAFIEUX = DarkRP.createJob("Mafieu", {
color = Color(0, 0, 0, 255),
model = {"models/fearless/mafia02.mdl"},
description = [[Tu es mafieu tu fait se que tu veut à une seule condition ne pas te faire choper par les flics]],
weapons = {},
command = "/mafieu",
max = 4,
salary = 900,
admin = 0,
vote = false,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})


TEAM_BLOODZ = DarkRP.createJob("Bloodz", {
color = Color(255, 0, 0, 255),
model = {
"models/player/slow/jknies/bloodz/slow_1.mdl",
"models/player/slow/jknies/bloodz/slow_2.mdl",
"models/player/slow/jknies/bloodz/slow_3.mdl"
},
description = [[Tu es bloodz tu fait se que tu veut à une seule condition ne pas te faire choper par les flics]],
weapons = {},
command = "/bloodz",
max = 4,
salary = 900,
admin = 0,
vote = false,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})


TEAM_CRIPZ = DarkRP.createJob("Cripz", {
color = Color(36, 0, 255, 255),
model = {
"models/player/slow/jknies/cripz/slow_1.mdl",
"models/player/slow/jknies/cripz/slow_2.mdl",
"models/player/slow/jknies/cripz/slow_3.mdl"
},
description = [[Tu es cripz tu fait se que tu veut à une seule condition ne pas te faire choper par les flics]],
weapons = {},
command = "/cripz",
max = 4,
salary = 900,
admin = 0,
vote = false,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_STAFF = DarkRP.createJob("Staff ", {
color = Color(0, 240, 255, 255),
model = {"models/player/anon/anon.mdl"},
description = [[STAFF FROZENRP]],
weapons = {},
command = "/staff",
max = 0,
salary = 1200,
admin = 1,
vote = false,
type = commerce,
hasLicense = true,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réservé au Staff",
})

TEAM_POLICE = DarkRP.createJob("*VIP* Commissaire", {
color = Color(18, 13, 255, 255),
model = {"models/portal2/patrol_02.mdl"},
description = [[Tu es le chef de la police]],
weapons = {"m9k_m92beretta", "arrest_stick", "unarrest_stick", "weaponchecker", "stunstick", "door_ram", "pass_police_nationale_1"},
command = "/commissaire",
max = 1,
salary = 1700,
admin = 0,
vote = true,
type = police,
hasLicense = true,
candemote = true,
ammo = {
["pistol"] = 45
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(10)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réserver au VIP",
})

TEAM_BRAQUEUR = DarkRP.createJob("Braqueur", {
color = Color(31, 28, 28, 255),
model = {
"models/player/pd2_wolf_p.mdl",
"models/shaklin/payday2/pd2_chains.mdl",

},
description = [[Tu es braqueur ton but est de braquer la banque et les autres joueurs]],
weapons = {},
command = "/braqueur",
max = 4,
salary = 900,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_BRAQUEUR = DarkRP.createJob("*VIP* Chef Braqueur", {
color = Color(34, 85, 85, 255),
model = {"models/shaklin/payday2/pd2_hoxton.mdl"},
description = [[Tu gére les braqueurs]],
weapons = {},
command = "/chefbraqueur",
max = 1,
salary = 1000,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réserver au VIP",
})


TEAM_PSYCOPHATE = DarkRP.createJob("Psycophate", {
color = Color(255, 0, 0, 255),
model = {"models/grandtheftauto5/trevor.mdl"},
description = [[Tu es psycophate tu es complétement fou ]],
weapons = {"m9k_machete"},
command = "/psycophate",
max = 2,
salary = 900,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_VENDEURDECIGARETTE = DarkRP.createJob("Vendeur de cigarette éléctronique", {
color = Color(0, 255, 25, 255),
model = {"models/fearless/02.mdl"},
description = [[Tu vends des cigarrette éléctronique pour te faire un maximum d'argent]],
weapons = {},
command = "/vendeurdecigarretteéléctronique",
max = 2,
salary = 1000,
admin = 0,
vote = true,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})


TEAM_TRAFIQUANTDEWEED = DarkRP.createJob("Trafiquant de WEED", {
color = Color(0, 255, 25, 255),
model = {"models/snoopdogg.mdl"},
description = [[Tu fabrique et vend de la weed]],
weapons = {},
command = "/trafiquantdeweed",
max = 3,
salary = 50,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_TRAFIQUANTDEMETH = DarkRP.createJob("Trafiquant de METH", {
color = Color(10, 128, 0, 255),
model = {"models/agent_47.mdl"},
description = [[Tu es fabriquant de meth tu fais de la meth pour la revendre pour te faire de l'argent]],
weapons = {},
command = "/trafiquantdemeth",
max = 2,
salary = 50,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_MAFIEUX = DarkRP.createJob("*VIP* Parrain de la mafia", {
color = Color(0, 0, 0, 255),
model = {"models/vito.mdl"},
description = [[Tu dirige la mafia tu fait les choix que tu veux pour la mafia]],
weapons = {},
command = "/parrain",
max = 1,
salary = 1000,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réserver au VIP",
})

TEAM_GARDEDUCORP = DarkRP.createJob("Garde du corp", {
color = Color(255, 153, 0, 255),
model = {
"models/player/portal/male_03_security.mdl",
"models/player/portal/male_02_security.mdl",
"models/player/portal/male_01_security.mdl"
},
description = [[Vous devez protégé une personne qui vous a engagez contre de l'argent]],
weapons = {"weaponchecker", "stunstick"},
command = "/gardeducorp",
max = 3,
salary = 1900,
admin = 0,
vote = true,
type = commerce,
hasLicense = true,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_BANQUE = DarkRP.createJob("Banquier", {
color = Color(0, 0, 0, 255),
model = {"models/fearless/dbsuit07.mdl"},
description = [[Tu gére les printers des gens]],
weapons = {},
command = "/banquier",
max = 1,
salary = 1900,
admin = 0,
vote = true,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_JUGE = DarkRP.createJob("Juge", {
color = Color(0, 0, 0, 255),
model = {"models/fearless/dgsuit13.mdl"},
description = [[Tu décides si une personne a une peine ou non]],
weapons = {},
command = "/juge",
max = 1,
salary = 1600,
admin = 0,
vote = true,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_HOTELIER = DarkRP.createJob("Hôtelier", {
color = Color(25, 79, 0, 255),
model = {"models/fearless/mayor1.mdl"},
description = [[Tu loues des propriétés que tu as acheté]],
weapons = {},
command = "/Hôtelier",
max = 2,
salary = 900,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_AVOCAT = DarkRP.createJob("Avocat", {
color = Color(0, 106, 184, 255),
model = {"models/fearless/suit04.mdl"},
description = [[Tu défends des gens qui passe au tribunal que l'affaire soit légal ou illégal
]],
weapons = {},
command = "/avocat",
max = 3,
salary = 1400,
admin = 0,
vote = true,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_COOK = DarkRP.createJob("*VIP* Gérant d'un restaurant", {
color = Color(0, 0, 0, 255),
model = {"models/fearless/dgsuit12.mdl"},
description = [[Tu gére un restaurant tu gagnes la moitié des bénéfice du restaurant]],
weapons = {},
command = "/gerantd'unrestaurant",
max = 1,
salary = 1300,
admin = 0,
vote = true,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réservé au VIP",
})

TEAM_LIVREUR = DarkRP.createJob("Livreur", {
color = Color(29, 92, 0, 255),
model = {"models/player/Group01/male_03.mdl"},
description = [[Tu es engagé par des gens pour livrer des choses]],
weapons = {},
command = "/livreur",
max = 2,
salary = 1000,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_VOLEUR = DarkRP.createJob("Voleur", {
color = Color(133, 133, 133, 255),
model = {"models/h-d/2sg/simonplayer.mdl"},
description = [[Tu es voleur tu dois voler tout se qu'il bouge]],
weapons = {"lockpick", "weapon_acracker_default"},
command = "/voleur",
max = 3,
salary = 100,
admin = 0,
vote = false,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_MERCENAIRE = DarkRP.createJob("*VIP* Mercenaire", {
color = Color(255, 199, 0, 255),
model = {"models/player/pmc_1/pmc__12.mdl"},
description = [[Vous vous faites engagé par une personne qui fait des activité légal ou illégal contre une somme d'argent]],
weapons = {"m9k_hk45", "m9k_scar"},
command = "/mercenaire",
max = 4,
salary = 1100,
admin = 0,
vote = false,
type = crime,
hasLicense = false,
candemote = true,
ammo = {
["pistol"] = 40,
["smg1"] = 90
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(29)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réservé au VIP",
})

TEAM_GARAGISTE = DarkRP.createJob("Garagiste", {
color = Color(0, 145, 6, 255),
model = {"models/player/Group01/male_06.mdl"},
description = [[Tu es garagiste tu doit réparer les véhicule des gens contre de l'argent ]],
weapons = {"vc_wrench"},
command = "/garagiste",
max = 3,
salary = 1500,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_YAKUZA = DarkRP.createJob("Yakuza", {
color = Color(250, 255, 0, 255),
model = {
"models/sd/humans/[dbs_brawler]-head_brawler_dbs.mdl",
"models/sd/humans/[dbs_brawler_2]-head_brawler_dbs.mdl",
"models/sd/humans/[dbs_dirtyming].mdl"
},
description = [[Tu es yakuza tu fait se que tu veut à une seule condition ne pas te faire choper par les flics]],
weapons = {},
command = "/yakuza",
max = 4,
salary = 900,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_YAKUZA = DarkRP.createJob("*VIP* Chef Yakuza", {
color = Color(250, 255, 0, 255),
model = {"models/sd/humans/[dbs_striker]-head_quick_dbs.mdl"},
description = [[Tu es chef yakuza tu dirige les yakuzas]],
weapons = {},
command = "/chefyakuza",
max = 1,
salary = 1000,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réserver au VIP",
})

TEAM_HERO = DarkRP.createJob("*VIP+* Deadpool", {
color = Color(255, 0, 0, 255),
model = {"models/pechenko_121/deadpool/chr_deadpoolclassic.mdl"},
description = [[Tu es deadpool tu tue tous les méchants sans pitier]],
weapons = {"m9k_damascus", "m9k_m92fs_drp"},
command = "/deadpool",
max = 1,
salary = 600,
admin = 0,
vote = true,
type = commerce,
hasLicense = true,
candemote = true,
ammo = {
["pistol"] = 45
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(10)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réserver au VIP+",
})

TEAM_TAXI = DarkRP.createJob("Chauffeur de taxi", {
color = Color(246, 255, 0, 255),
model = {"models/player/Group01/male_02.mdl"},
description = [[Tu es chauffeur de taxi tu transportes des gens contre de l'argent]],
weapons = {},
command = "/chauffeurdetaxi",
max = 2,
salary = 1000,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})


--[[---------------------------------------------------------------------------
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_MAYOR] = true,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)
 
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
Enfaite le skin de médecin par exemple va rester mais si je me mais maire j'aurais le skin du médecin
 
Ben. ®

Ben. ®

Psychopathe
Messages
2 255
Score réaction
511
Points
340
mathis77480 à dit:
--[[---------------------------------------------------------------------------
DarkRP custom jobs
---------------------------------------------------------------------------
This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.

Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
Once you've done that, copy and paste the job to this file and edit it.

The default jobs can be found here:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua

For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields

Add your custom jobs under the following line:
---------------------------------------------------------------------------]]
TEAM_CITIZEN = DarkRP.createJob("Chomeur", {
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 = [[Tu es chomeur tu gagne rien ]],
weapons = {},
command = "citizen",
max = 0,
salary = 0,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
candemote = false,
category = "Citizens",
})

TEAM_GANG = DarkRP.createJob("Gangster", {
color = Color(75, 75, 75, 255),
model = {
"models/player/Group03/Female_01.mdl",
"models/player/Group03/Female_02.mdl",
"models/player/Group03/Female_03.mdl",
"models/player/Group03/Female_04.mdl",
"models/player/Group03/Female_06.mdl",
"models/player/group03/male_01.mdl",
"models/player/Group03/Male_02.mdl",
"models/player/Group03/male_03.mdl",
"models/player/Group03/Male_04.mdl",
"models/player/Group03/Male_05.mdl",
"models/player/Group03/Male_06.mdl",
"models/player/Group03/Male_07.mdl",
"models/player/Group03/Male_08.mdl",
"models/player/Group03/Male_09.mdl"},
description = [[Tu es Gangster tu dois faire des choses illégal ]],
weapons = {},
command = "gangster",
max = 3,
salary = 900,
admin = 0,
vote = false,
type = crime,
hasLicense = false,
})

TEAM_MOB = DarkRP.createJob("*VIP* Chef des Gangster", {
color = Color(25, 25, 25, 255),
model = "models/player/gman_high.mdl",
description = [[Tu es chef des gangsters du dirige les gangsters]],
weapons = {},
command = "mobboss",
max = 1,
salary = 1000,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réservé au VIP",
})

TEAM_GUN = DarkRP.createJob("Vendeur d'armes", {
color = Color(255, 140, 0, 255),
model = "models/player/monk.mdl",
description = [[Tu es vendeur d'armes tu vends des armes contre de l'argent]],
weapons = {},
command = "gundealer",
max = 2,
salary = 1000,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
})

TEAM_MEDIC = DarkRP.createJob("Médecin", {
color = Color(47, 79, 79, 255),
model = "models/player/kleiner.mdl",
description = [[Tu es medecin tu gagnes tu soigne les gens contre de l'argent]],
weapons = {"med_kit"},
command = "medic",
max = 3,
salary = 2000,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
medic = true,
})

TEAM_MAYOR = DarkRP.createJob("Maire", {
color = Color(150, 20, 20, 255),
model = "models/obama/obama.mdl",
description = [[Tu es le maire de la ville du doit diriger la ville]],
weapons = {},
command = "mayor",
max = 1,
salary = 2500,
admin = 0,
vote = true,
type = commerce,
hasLicense = false,
mayor = true,
})

TEAM_HOBO = DarkRP.createJob("SDF", {
color = Color(80, 45, 0, 255),
model = "models/player/corpse1.mdl",
description = [[Tu es SDF tu demande de l'argent]],
weapons = {"weapon_bugbait"},
command = "hobo",
max = 5,
salary = 0,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
candemote = false,
hobo = true,
})


TEAM_POLICE = DarkRP.createJob("Policier", {
color = Color(20, 0, 255, 255),
model = {
"models/player/portal/f_police.mdl",
"models/player/portal/f_police2.mdl",
"models/player/portal/f_police5.mdl"
},
description = [[Tu es policier tu fait regner l'ordre sur la ville]],
weapons = {"m9k_m92beretta", "arrest_stick", "unarrest_stick", "weaponchecker", "stunstick", "door_ram", "weapon_cuff_police", "pass_police_nationale_1"},
command = "/policier",
max = 5,
salary = 1500,
admin = 0,
vote = true,
type = police,
hasLicense = true,
candemote = true,
ammo = {
["pistol"] = 45
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_POLICE = DarkRP.createJob("BAC", {
color = Color(0, 117, 5, 255),
model = {
"models/player/Group01/male_01.mdl",
"models/player/Group01/male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/male_04.mdl"
},
description = [[Tu es un agent de BAC tu dois t'infiltrer dans des magasins illégaux etc pour pouvoir les faire passer dérrière les barreaux]],
weapons = {"m9k_m92beretta", "arrest_stick", "unarrest_stick", "weaponchecker", "stunstick", "door_ram", "weapon_cuff_police", "pass_police_nationale_1"},
command = "/bac",
max = 2,
salary = 1600,
admin = 0,
vote = true,
type = police,
hasLicense = true,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_POLICE = DarkRP.createJob("RAID", {
color = Color(20, 0, 255, 255),
model = {"models/player/raid/raid_05.mdl"},
description = [[Tu es un RAID comme un policier mais en plus armés]],
weapons = {"m9k_m92beretta", "arrest_stick", "unarrest_stick", "weaponchecker", "stunstick", "m9k_remington870", "m9k_g36", "door_ram", "weapon_cuff_police", "pass_police_nationale_1"},
command = "/raid",
max = 4,
salary = 1600,
admin = 0,
vote = true,
type = police,
hasLicense = true,
candemote = true,
ammo = {
["pistol"] = 45,
["smg1"] = 60,
["shotgun"] = 20
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(45)
end
})

TEAM_POLICE = DarkRP.createJob("*VIP+* Chef RAID", {
color = Color(20, 0, 255, 255),
model = {"models/player/raid/raid_01.mdl"},
description = [[Tu dirige le RAID]],
weapons = {"m9k_m92beretta", "arrest_stick", "unarrest_stick", "weaponchecker", "stunstick", "m9k_remington870", "m9k_g36", "door_ram", "weapon_cuff_police", "pass_police_nationale_1"},
command = "/chefraid",
max = 1,
salary = 2000,
admin = 0,
vote = true,
type = police,
hasLicense = true,
candemote = true,
ammo = {
["shotgun"] = 20,
["smg1"] = 60,
["pistol"] = 45
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(50)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réservé au VIP+",
})

TEAM_GARDEDUMAIRE = DarkRP.createJob("Garde du maire", {
color = Color(255, 0, 0, 255),
model = {"models/fearless/02.mdl"},
description = [[Tu dois défendre le maire quoi qu'il se passe]],
weapons = {"m9k_usp"},
command = "/gardedumaire",
max = 3,
salary = 1200,
admin = 0,
vote = true,
type = commerce,
hasLicense = true,
candemote = true,
ammo = {
["pistol"] = 50
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_MAFIEUX = DarkRP.createJob("Mafieu", {
color = Color(0, 0, 0, 255),
model = {"models/fearless/mafia02.mdl"},
description = [[Tu es mafieu tu fait se que tu veut à une seule condition ne pas te faire choper par les flics]],
weapons = {},
command = "/mafieu",
max = 4,
salary = 900,
admin = 0,
vote = false,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})


TEAM_BLOODZ = DarkRP.createJob("Bloodz", {
color = Color(255, 0, 0, 255),
model = {
"models/player/slow/jknies/bloodz/slow_1.mdl",
"models/player/slow/jknies/bloodz/slow_2.mdl",
"models/player/slow/jknies/bloodz/slow_3.mdl"
},
description = [[Tu es bloodz tu fait se que tu veut à une seule condition ne pas te faire choper par les flics]],
weapons = {},
command = "/bloodz",
max = 4,
salary = 900,
admin = 0,
vote = false,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})


TEAM_CRIPZ = DarkRP.createJob("Cripz", {
color = Color(36, 0, 255, 255),
model = {
"models/player/slow/jknies/cripz/slow_1.mdl",
"models/player/slow/jknies/cripz/slow_2.mdl",
"models/player/slow/jknies/cripz/slow_3.mdl"
},
description = [[Tu es cripz tu fait se que tu veut à une seule condition ne pas te faire choper par les flics]],
weapons = {},
command = "/cripz",
max = 4,
salary = 900,
admin = 0,
vote = false,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_STAFF = DarkRP.createJob("Staff ", {
color = Color(0, 240, 255, 255),
model = {"models/player/anon/anon.mdl"},
description = [[STAFF FROZENRP]],
weapons = {},
command = "/staff",
max = 0,
salary = 1200,
admin = 1,
vote = false,
type = commerce,
hasLicense = true,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réservé au Staff",
})

TEAM_POLICE = DarkRP.createJob("*VIP* Commissaire", {
color = Color(18, 13, 255, 255),
model = {"models/portal2/patrol_02.mdl"},
description = [[Tu es le chef de la police]],
weapons = {"m9k_m92beretta", "arrest_stick", "unarrest_stick", "weaponchecker", "stunstick", "door_ram", "pass_police_nationale_1"},
command = "/commissaire",
max = 1,
salary = 1700,
admin = 0,
vote = true,
type = police,
hasLicense = true,
candemote = true,
ammo = {
["pistol"] = 45
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(10)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réserver au VIP",
})

TEAM_BRAQUEUR = DarkRP.createJob("Braqueur", {
color = Color(31, 28, 28, 255),
model = {
"models/player/pd2_wolf_p.mdl",
"models/shaklin/payday2/pd2_chains.mdl",

},
description = [[Tu es braqueur ton but est de braquer la banque et les autres joueurs]],
weapons = {},
command = "/braqueur",
max = 4,
salary = 900,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_BRAQUEUR = DarkRP.createJob("*VIP* Chef Braqueur", {
color = Color(34, 85, 85, 255),
model = {"models/shaklin/payday2/pd2_hoxton.mdl"},
description = [[Tu gére les braqueurs]],
weapons = {},
command = "/chefbraqueur",
max = 1,
salary = 1000,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réserver au VIP",
})


TEAM_PSYCOPHATE = DarkRP.createJob("Psycophate", {
color = Color(255, 0, 0, 255),
model = {"models/grandtheftauto5/trevor.mdl"},
description = [[Tu es psycophate tu es complétement fou ]],
weapons = {"m9k_machete"},
command = "/psycophate",
max = 2,
salary = 900,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_VENDEURDECIGARETTE = DarkRP.createJob("Vendeur de cigarette éléctronique", {
color = Color(0, 255, 25, 255),
model = {"models/fearless/02.mdl"},
description = [[Tu vends des cigarrette éléctronique pour te faire un maximum d'argent]],
weapons = {},
command = "/vendeurdecigarretteéléctronique",
max = 2,
salary = 1000,
admin = 0,
vote = true,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})


TEAM_TRAFIQUANTDEWEED = DarkRP.createJob("Trafiquant de WEED", {
color = Color(0, 255, 25, 255),
model = {"models/snoopdogg.mdl"},
description = [[Tu fabrique et vend de la weed]],
weapons = {},
command = "/trafiquantdeweed",
max = 3,
salary = 50,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_TRAFIQUANTDEMETH = DarkRP.createJob("Trafiquant de METH", {
color = Color(10, 128, 0, 255),
model = {"models/agent_47.mdl"},
description = [[Tu es fabriquant de meth tu fais de la meth pour la revendre pour te faire de l'argent]],
weapons = {},
command = "/trafiquantdemeth",
max = 2,
salary = 50,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_MAFIEUX = DarkRP.createJob("*VIP* Parrain de la mafia", {
color = Color(0, 0, 0, 255),
model = {"models/vito.mdl"},
description = [[Tu dirige la mafia tu fait les choix que tu veux pour la mafia]],
weapons = {},
command = "/parrain",
max = 1,
salary = 1000,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réserver au VIP",
})

TEAM_GARDEDUCORP = DarkRP.createJob("Garde du corp", {
color = Color(255, 153, 0, 255),
model = {
"models/player/portal/male_03_security.mdl",
"models/player/portal/male_02_security.mdl",
"models/player/portal/male_01_security.mdl"
},
description = [[Vous devez protégé une personne qui vous a engagez contre de l'argent]],
weapons = {"weaponchecker", "stunstick"},
command = "/gardeducorp",
max = 3,
salary = 1900,
admin = 0,
vote = true,
type = commerce,
hasLicense = true,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_BANQUE = DarkRP.createJob("Banquier", {
color = Color(0, 0, 0, 255),
model = {"models/fearless/dbsuit07.mdl"},
description = [[Tu gére les printers des gens]],
weapons = {},
command = "/banquier",
max = 1,
salary = 1900,
admin = 0,
vote = true,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_JUGE = DarkRP.createJob("Juge", {
color = Color(0, 0, 0, 255),
model = {"models/fearless/dgsuit13.mdl"},
description = [[Tu décides si une personne a une peine ou non]],
weapons = {},
command = "/juge",
max = 1,
salary = 1600,
admin = 0,
vote = true,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_HOTELIER = DarkRP.createJob("Hôtelier", {
color = Color(25, 79, 0, 255),
model = {"models/fearless/mayor1.mdl"},
description = [[Tu loues des propriétés que tu as acheté]],
weapons = {},
command = "/Hôtelier",
max = 2,
salary = 900,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_AVOCAT = DarkRP.createJob("Avocat", {
color = Color(0, 106, 184, 255),
model = {"models/fearless/suit04.mdl"},
description = [[Tu défends des gens qui passe au tribunal que l'affaire soit légal ou illégal
]],
weapons = {},
command = "/avocat",
max = 3,
salary = 1400,
admin = 0,
vote = true,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_COOK = DarkRP.createJob("*VIP* Gérant d'un restaurant", {
color = Color(0, 0, 0, 255),
model = {"models/fearless/dgsuit12.mdl"},
description = [[Tu gére un restaurant tu gagnes la moitié des bénéfice du restaurant]],
weapons = {},
command = "/gerantd'unrestaurant",
max = 1,
salary = 1300,
admin = 0,
vote = true,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réservé au VIP",
})

TEAM_LIVREUR = DarkRP.createJob("Livreur", {
color = Color(29, 92, 0, 255),
model = {"models/player/Group01/male_03.mdl"},
description = [[Tu es engagé par des gens pour livrer des choses]],
weapons = {},
command = "/livreur",
max = 2,
salary = 1000,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_VOLEUR = DarkRP.createJob("Voleur", {
color = Color(133, 133, 133, 255),
model = {"models/h-d/2sg/simonplayer.mdl"},
description = [[Tu es voleur tu dois voler tout se qu'il bouge]],
weapons = {"lockpick", "weapon_acracker_default"},
command = "/voleur",
max = 3,
salary = 100,
admin = 0,
vote = false,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_MERCENAIRE = DarkRP.createJob("*VIP* Mercenaire", {
color = Color(255, 199, 0, 255),
model = {"models/player/pmc_1/pmc__12.mdl"},
description = [[Vous vous faites engagé par une personne qui fait des activité légal ou illégal contre une somme d'argent]],
weapons = {"m9k_hk45", "m9k_scar"},
command = "/mercenaire",
max = 4,
salary = 1100,
admin = 0,
vote = false,
type = crime,
hasLicense = false,
candemote = true,
ammo = {
["pistol"] = 40,
["smg1"] = 90
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(29)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réservé au VIP",
})

TEAM_GARAGISTE = DarkRP.createJob("Garagiste", {
color = Color(0, 145, 6, 255),
model = {"models/player/Group01/male_06.mdl"},
description = [[Tu es garagiste tu doit réparer les véhicule des gens contre de l'argent ]],
weapons = {"vc_wrench"},
command = "/garagiste",
max = 3,
salary = 1500,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_YAKUZA = DarkRP.createJob("Yakuza", {
color = Color(250, 255, 0, 255),
model = {
"models/sd/humans/[dbs_brawler]-head_brawler_dbs.mdl",
"models/sd/humans/[dbs_brawler_2]-head_brawler_dbs.mdl",
"models/sd/humans/[dbs_dirtyming].mdl"
},
description = [[Tu es yakuza tu fait se que tu veut à une seule condition ne pas te faire choper par les flics]],
weapons = {},
command = "/yakuza",
max = 4,
salary = 900,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_YAKUZA = DarkRP.createJob("*VIP* Chef Yakuza", {
color = Color(250, 255, 0, 255),
model = {"models/sd/humans/[dbs_striker]-head_quick_dbs.mdl"},
description = [[Tu es chef yakuza tu dirige les yakuzas]],
weapons = {},
command = "/chefyakuza",
max = 1,
salary = 1000,
admin = 0,
vote = true,
type = crime,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP", "VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réserver au VIP",
})

TEAM_HERO = DarkRP.createJob("*VIP+* Deadpool", {
color = Color(255, 0, 0, 255),
model = {"models/pechenko_121/deadpool/chr_deadpoolclassic.mdl"},
description = [[Tu es deadpool tu tue tous les méchants sans pitier]],
weapons = {"m9k_damascus", "m9k_m92fs_drp"},
command = "/deadpool",
max = 1,
salary = 600,
admin = 0,
vote = true,
type = commerce,
hasLicense = true,
candemote = true,
ammo = {
["pistol"] = 45
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(10)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP+", "Modo-Test", "Moderateur", "admin", "superadmin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est réserver au VIP+",
})

TEAM_TAXI = DarkRP.createJob("Chauffeur de taxi", {
color = Color(246, 255, 0, 255),
model = {"models/player/Group01/male_02.mdl"},
description = [[Tu es chauffeur de taxi tu transportes des gens contre de l'argent]],
weapons = {},
command = "/chauffeurdetaxi",
max = 2,
salary = 1000,
admin = 0,
vote = false,
type = commerce,
hasLicense = false,
candemote = true,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})


--[[---------------------------------------------------------------------------
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_MAYOR] = true,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)
_Remax à dit:
Met le dans une balise CODE
OMG QUOI
 
  • J'aime
Réactions: Yoh Sambre ♪
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
QUELQUN PEUX MAIDER
 
Ben. ®

Ben. ®

Psychopathe
Messages
2 255
Score réaction
511
Points
340
IL FAUT QUE TU CHANGES ÇA !
mathis77480 à dit:
PS : T'AS UN PROBLÈME AVEC LES MAJUSCULES ?
 
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
Ouais ;p
 
JavaDa

JavaDa

Geek
Messages
414
Score réaction
47
Points
80
C'EST BON TON TOPIC ET RÉSOLUT, ALORS CHANGE LE EN RÉSOLUT SI CELA ET LE CA !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
MERCI BEAUCOUP !
 
  • J'aime
Réactions: Ben. ®
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
Non ca marche pas
 
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
HELP PLZ
 
JavaDa

JavaDa

Geek
Messages
414
Score réaction
47
Points
80
Tu va pas commencer avec les MAJS ?
 
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
Aider moi au lieu de m'embrouiller ;(
 
  • Initiateur de la discussion
M

mathis77480

Geek
Messages
63
Score réaction
1
Points
90
 
JavaDa

JavaDa

Geek
Messages
414
Score réaction
47
Points
80
Tu paye combien ? x)
 
Discord d'entraide
Rejoignz-nous sur Discord