- Initiateur de la discussion
EglyKozz
Psychopathe
- Messages
- 1 627
- Score réaction
- 359
- Points
- 310
Alors voilà pour faire simple quand je veut mettre le premier job (citoyen) je rentre ce code :
TEAM_Citoyen = DarkRP.createJob("Citoyen", {
color = Color(0, 130, 13, 255),
model = {"models/player/Group01/male_02.mdl"},
description = [[Vous êtes un citoyen normale]],
weapons = {weapon_arc_atmcard},
command = "citizen",
max = 30,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
})
Je vais ensuite sur le serveur et j'ai un lua probleme qui est le suivant :
There is 1 Lua problem!
Please check your console for more information!
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 20.
The best help I can give you is this:
Right before the 'TEAM_Citoyen', Lua expected to read an '='-sign, but it didn't.
Hints:
- Did you simply forget the '='-sign?
- Did you forget a comma?
- Is this supposed to be a local variable?
Donc j'ai cherché pendant des heures a trouver le problème mais je trouve vraiment pas
Je vous remercie grandement si vous m'aidez
Cordialement, EglyKozz
TEAM_Citoyen = DarkRP.createJob("Citoyen", {
color = Color(0, 130, 13, 255),
model = {"models/player/Group01/male_02.mdl"},
description = [[Vous êtes un citoyen normale]],
weapons = {weapon_arc_atmcard},
command = "citizen",
max = 30,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
})
Je vais ensuite sur le serveur et j'ai un lua probleme qui est le suivant :
There is 1 Lua problem!
Please check your console for more information!
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 20.
The best help I can give you is this:
Right before the 'TEAM_Citoyen', Lua expected to read an '='-sign, but it didn't.
Hints:
- Did you simply forget the '='-sign?
- Did you forget a comma?
- Is this supposed to be a local variable?
Donc j'ai cherché pendant des heures a trouver le problème mais je trouve vraiment pas
Je vous remercie grandement si vous m'aidez
Cordialement, EglyKozz