COMMENT METTRE DE LA VIE A UN METIER

  • Initiateur de la discussion JOSS168
  • Date de début
  • Initiateur de la discussion
J

JOSS168

Bambi
Messages
49
Score réaction
13
Points
40
comment mettre de la vie a un metier est pas d'autre comme sa quand on change de metier ex : quand je me mais en policier jai 20000 de vie
 
Gauthier Plus

Gauthier Plus

Geek suprême
Messages
717
Score réaction
310
Points
180
Code:
PlayerLoadout = function(ply) ply:SetHealth(20000) end,
 
  • J'aime
Réactions: Yoh Sambre ♪
  • Initiateur de la discussion
J

JOSS168

Bambi
Messages
49
Score réaction
13
Points
40
Gauthier Plus à dit:
Code:
PlayerLoadout = function(ply) ply:SetHealth(20000) end,
comment on le met met le moi ex :
--]]
TEAM_CITOYEN = DarkRP.createJob("Classe D", {
color = Color(179, 169, 169, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl",
},
description = [[Classe D]],
weapons = {"none"},
command = "citoyen",
max = 1000000000,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Classe D",
})
 
Emy π

Emy π

Bambi
Messages
4
Score réaction
0
Points
30
JOSS168 à dit:
comment on le met met le moi ex :
--]]
TEAM_CITOYEN = DarkRP.createJob("Classe D", {
color = Color(179, 169, 169, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl",
},
description = [[Classe D]],
weapons = {"none"},
command = "citoyen",
max = 1000000000,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Classe D",
})
J'imagine qu'un simple retour à la ligne accordé d'une virgule devrait faire l'affaire :).
 
Gauthier Plus

Gauthier Plus

Geek suprême
Messages
717
Score réaction
310
Points
180
Emy π à dit:
J'imagine qu'un simple retour à la ligne accordé d'une virgule devrait faire l'affaire :).
Yess
JOSS168 à dit:
comment on le met met le moi ex :
--]]
TEAM_CITOYEN = DarkRP.createJob("Classe D", {
color = Color(179, 169, 169, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl",
},
description = [[Classe D]],
weapons = {"none"},
command = "citoyen",
max = 1000000000,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Classe D",
})
Code:
TEAM_CITOYEN = DarkRP.createJob("Classe D", {
color = Color(179, 169, 169, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl",
},
description = [[Classe D]],
weapons = {"none"},
command = "citoyen",
max = 1000000000,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
PlayerLoadout = function(ply) ply:SetHealth(20000) end,
category = "Classe D",
})
 
  • Initiateur de la discussion
J

JOSS168

Bambi
Messages
49
Score réaction
13
Points
40
Gauthier Plus à dit:
Yess

Code:
TEAM_CITOYEN = DarkRP.createJob("Classe D", {
color = Color(179, 169, 169, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl",
},
description = [[Classe D]],
weapons = {"none"},
command = "citoyen",
max = 1000000000,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
PlayerLoadout = function(ply) ply:SetHealth(20000) end,
category = "Classe D",
})
Merci !
 
Hakim Elhnine

Hakim Elhnine

Geek
Messages
256
Score réaction
26
Points
80
Yo tien un exemple d'un job qui est sur mon serveur!


TEAM_MAITRE = DarkRP.createJob("*VIP* Maitre chien du GIGN", {
color = Color(0, 252, 6, 255),
model = {
"models/player/pmc_1/pmc__04.mdl",
"models/player/pmc_2/pmc__04.mdl",
"models/player/pmc_3/pmc__04.mdl",
"models/player/pmc_4/pmc__04.mdl",
"models/player/pmc_5/pmc__04.mdl",
"models/player/pmc_6/pmc__04.mdl"
},
description = [[Le job maitre chien du gign est un job exclusivement reserver pour les VIP son but est de dire au chien ce que il doit faire! Si le chien ne vous obéi pas n'hésitez pas a appeller un membre du staff!]],
weapons = {"m9k_glock", "pass_police_nationale", "weapon_fists", "arrest_stick", "unarrest_stick", "stunstick"},
command = "maitrechien",
max = 2,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(100)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "Un maitre chien du GIGN est mort")
end,
customCheck = function(ply) return CLIENT or
table.HasValue({"VIP"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Ce métier est pour les VIP",
})
 
  • J'aime
Réactions: Taink
Discord d'entraide
Rejoignz-nous sur Discord