Probléme job - lua error

  • Initiateur de la discussion
PapyGlandue

PapyGlandue

Gland
Messages
28
Score réaction
0
Points
70
Bonjour je vien de créer mon serveur gmod et un job me perturbe je l'ai refait changer de place etc mais toujours la méme erreur ! Voici le job : La ligne de la déscription bug a ce qu'il parrait..

TEAM_OBERSCHUTZE = DarkRP.createJob("Oberschutze - Wehrmacht", {
color = Color(255, 93, 0, 255),
model = {"models/kriegsyntax/germans/heer/hv_enlisted/playermodel.mdl"},
description = [[Vous etes de la wehrmacht]],
weapons = {"itemstore_pickup","garde_a_vousv1.2","doi_atow_g43"},
command = "oberschutze",
max = 10,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Wehrmacht",
PlayerSpawn = function(ply)
ply:SetMaxHealth(150)
ply:SetHealth(150)
ply:SetArmor(50)
end
})

Le mot lua error :
[ERROR] gamemodes/darkrp/gamemode/libraries/simplerr.lua:530: [ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 274.The best help I can give you is this:Right before the ',', Lua encountered something it could not make sense of.Hints:- Did you forget something here? (Perhaps a closing bracket)- Is it a typo?


Merci de vos réponses et de vos aides :D
 
Discord d'entraide
Rejoignz-nous sur Discord