- Initiateur de la discussion
Sirr_Théo
Geek
- Messages
- 50
- Score réaction
- 1
- Points
- 45
Voici l'erreur:
Corrupt team: Protection Civile Recrue!
The admin value must be a number and it must be greater than or equal to zero and smaller than three.
Hints:
- No hints, sorry.
Voici le job:
TEAM_RCT = DarkRP.createJob("Protection Civile Recrue", {
color = Color(0, 66, 240, 255),
model = {"models/dpfilms/metropolice/playermodels/pm_hdpolice.mdl"
},
description = [[]],
weapons = {"stunstick","gmod_tool", "alyx_emptool", "weaponchecker", "weapon_fists", "wep_jack_job_drpradio","salute"},
command = "rct",
max = 5,
salary = 2,
vote = false,
hasLicense = false,
category = "Protection-Civile",
candemote = false,
PlayerLoadout = function(ply) ply:SetArmor( 20 ) end,
PlayerLoadout = function(ply) ply:SetArmor( math.Clamp( ( ply:Armor() or 100 ) + 0, 0, 0 ) ) end,
PlayerSpawn = function(ply)
GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.2)
ply:SetHealth(80)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Metier FULL",
PlayerDeath = function(ply, weapon, killer)
ply:changeTeam(GAMEMODE.DefaultTeam, true)
if killer:IsPlayer() then
DarkRP.notifyAll(0, 4, "Une Unitée est morte.")
else
DarkRP.notifyAll(0, 4, "Une Unitée est morte.")
end
end
})
Corrupt team: Protection Civile Recrue!
The admin value must be a number and it must be greater than or equal to zero and smaller than three.
Hints:
- No hints, sorry.
Voici le job:
TEAM_RCT = DarkRP.createJob("Protection Civile Recrue", {
color = Color(0, 66, 240, 255),
model = {"models/dpfilms/metropolice/playermodels/pm_hdpolice.mdl"
},
description = [[]],
weapons = {"stunstick","gmod_tool", "alyx_emptool", "weaponchecker", "weapon_fists", "wep_jack_job_drpradio","salute"},
command = "rct",
max = 5,
salary = 2,
vote = false,
hasLicense = false,
category = "Protection-Civile",
candemote = false,
PlayerLoadout = function(ply) ply:SetArmor( 20 ) end,
PlayerLoadout = function(ply) ply:SetArmor( math.Clamp( ( ply:Armor() or 100 ) + 0, 0, 0 ) ) end,
PlayerSpawn = function(ply)
GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.2)
ply:SetHealth(80)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Metier FULL",
PlayerDeath = function(ply, weapon, killer)
ply:changeTeam(GAMEMODE.DefaultTeam, true)
if killer:IsPlayer() then
DarkRP.notifyAll(0, 4, "Une Unitée est morte.")
else
DarkRP.notifyAll(0, 4, "Une Unitée est morte.")
end
end
})