- Initiateur de la discussion
C
Cumix
Bambi
- Messages
- 10
- Score réaction
- 0
- Points
- 35
Bjr !
J'ai créer des Métier pour mon serveur comme celui ci
--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_POLICE = DarkRP.createJob("Agent de Police NYPD", {
color = Color(0, 123, 255, 255),
model = {
"models/portal/nypd/nypdmale_03_arm.mdl",
"models/portal/nypd/nypdmale_03_b.mdl",
"models/portal/nypd/nypdmale_04_arm.mdl",
"models/portal/nypd/nypdmale_04_b.mdl",
"models/portal/nypd/nypdmale_05_arm.mdl",
"models/portal/nypd/nypdmale_05_b.mdl",
"models/portal/nypd/nypdmale_06_arm.mdl",
"models/portal/nypd/nypdmale_06_b.mdl",
"models/portal/nypd/nypdmale_07_arm.mdl",
"models/portal/nypd/nypdmale_07_b.mdl",
"models/player/hazmat/hazmat.mdl"
},
description = [[Les Agent de Police NYPD sont L'une des Plus Respectueuse Unité de Sécurité et de Civilité , Votre But , faire régner l'ordre ]],
weapons = {"policebadgewallet", "door_ram", "pocket", "weaponchecker", "unarrest_stick", "arrest_stick", "salute", "m9k_ragingbull", "fas2_g36c", "weapon_fists", "surrender", "wallet", "weapon_rpw_binoculars_explorer", "re_hands", "wep_jack_job_drpradio", "idcard", "swat_shield"},
command = "police",
max = 10,
salary = 275,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "GOUVERNEMENT",
chief = true
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(10)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "Un Agent de Police est Mort !")
end
})
Mais il fait lua error mais je vois pas l'erreur , merci de me dire si vous savez
J'ai créer des Métier pour mon serveur comme celui ci
--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_POLICE = DarkRP.createJob("Agent de Police NYPD", {
color = Color(0, 123, 255, 255),
model = {
"models/portal/nypd/nypdmale_03_arm.mdl",
"models/portal/nypd/nypdmale_03_b.mdl",
"models/portal/nypd/nypdmale_04_arm.mdl",
"models/portal/nypd/nypdmale_04_b.mdl",
"models/portal/nypd/nypdmale_05_arm.mdl",
"models/portal/nypd/nypdmale_05_b.mdl",
"models/portal/nypd/nypdmale_06_arm.mdl",
"models/portal/nypd/nypdmale_06_b.mdl",
"models/portal/nypd/nypdmale_07_arm.mdl",
"models/portal/nypd/nypdmale_07_b.mdl",
"models/player/hazmat/hazmat.mdl"
},
description = [[Les Agent de Police NYPD sont L'une des Plus Respectueuse Unité de Sécurité et de Civilité , Votre But , faire régner l'ordre ]],
weapons = {"policebadgewallet", "door_ram", "pocket", "weaponchecker", "unarrest_stick", "arrest_stick", "salute", "m9k_ragingbull", "fas2_g36c", "weapon_fists", "surrender", "wallet", "weapon_rpw_binoculars_explorer", "re_hands", "wep_jack_job_drpradio", "idcard", "swat_shield"},
command = "police",
max = 10,
salary = 275,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "GOUVERNEMENT",
chief = true
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(10)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "Un Agent de Police est Mort !")
end
})
Mais il fait lua error mais je vois pas l'erreur , merci de me dire si vous savez