- Initiateur de la discussion
D
DarkHelo74YT
Nouveau né
- Messages
- 9
- Score réaction
- 0
- Points
- 15
bonjour j'ai un probleme dans les codages apparement il y a une erreur sur le max de players dans le job mais je ne le vois pas ?
TEAM_POLICECPL = DarkRP.createJob("Police-Caporal", {
color = Color(0, 10, 252, 255),
model = {
"models/player/santosrp/male_02_santosrp.mdl",
"models/player/santosrp/male_04_santosrp.mdl",
"models/player/santosrp/male_05_santosrp.mdl",
"models/player/santosrp/male_06_santosrp.mdl",
"models/player/santosrp/male_07_santosrp.mdl",
"models/player/santosrp/male_08_santosrp.mdl",
"models/player/santosrp/male_09_santosrp.mdl"
},
description = [[]],
weapons = {"weapon_cuff_police", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "door_ram", "pass_detectiv", "cwc_p226", "cw_mp5"},
command = "pcaporal", "weapon_fists", "guigui_handcuffs", "stunstick", "arrest_stick", "unarrest_stick"},
max = 5,
salary = 80,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Force de l'ordre",
PlayerSpawn = function(ply)
ply:SetArmor(75)
end
})
TEAM_POLICECPL = DarkRP.createJob("Police-Caporal", {
color = Color(0, 10, 252, 255),
model = {
"models/player/santosrp/male_02_santosrp.mdl",
"models/player/santosrp/male_04_santosrp.mdl",
"models/player/santosrp/male_05_santosrp.mdl",
"models/player/santosrp/male_06_santosrp.mdl",
"models/player/santosrp/male_07_santosrp.mdl",
"models/player/santosrp/male_08_santosrp.mdl",
"models/player/santosrp/male_09_santosrp.mdl"
},
description = [[]],
weapons = {"weapon_cuff_police", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "door_ram", "pass_detectiv", "cwc_p226", "cw_mp5"},
command = "pcaporal", "weapon_fists", "guigui_handcuffs", "stunstick", "arrest_stick", "unarrest_stick"},
max = 5,
salary = 80,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Force de l'ordre",
PlayerSpawn = function(ply)
ply:SetArmor(75)
end
})