- Initiateur de la discussion
M
Matt59
Geek
- Messages
- 191
- Score réaction
- 12
- Points
- 80
J'ai créer ce JOB ci-dessous et quand je vais dans mon f4 que je sélectionne le job sa met : Job unavailable
--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_PSYCHOPATHE = DarkRP.createJob("Prisonnier psychopathe", {
color = Color(255, 120, 1, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm1.mdl",
"models/jbarnes/player/prisoners/jumpsuitm2.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm5.mdl",
"models/jbarnes/player/prisoners/jumpsuitm6.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl"
},
description = [[Vous nourrissez vos pulsions meurtrières.]],
weapons = {"weapon_fists", "dab", "surrender", "m9k_knife"},
command = "psycho",
max = 2,
salary = 30,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Prisonniers",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(0)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "Un psychopathe est mort.")
end,
customCheck = function(ply)
end,
CustomCheckFailMsg = "",
})
Merci d'avance
--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_PSYCHOPATHE = DarkRP.createJob("Prisonnier psychopathe", {
color = Color(255, 120, 1, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm1.mdl",
"models/jbarnes/player/prisoners/jumpsuitm2.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm5.mdl",
"models/jbarnes/player/prisoners/jumpsuitm6.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl"
},
description = [[Vous nourrissez vos pulsions meurtrières.]],
weapons = {"weapon_fists", "dab", "surrender", "m9k_knife"},
command = "psycho",
max = 2,
salary = 30,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Prisonniers",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(0)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "Un psychopathe est mort.")
end,
customCheck = function(ply)
end,
CustomCheckFailMsg = "",
})
Merci d'avance