- Initiateur de la discussion
V
ViiiPeRFR
Geek
- Messages
- 46
- Score réaction
- 1
- Points
- 60
Bonjours,
Quand je lance mon serveur j'ai une erreur lua que je n'arrive pas a résoudre
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 325.
The best help I can give you is this:
Right before the 'end', Lua expected to read a 'end of the file', but it didn't.
Hints:
- Did you forget a keyword?
- Did you forget a comma?
------- End of Simplerr error -------
Voila la ligne du jobs.lua vers la ligne 325
TEAM_AVOCAT = DarkRP.createJob("Avocat", {
color = Color(8, 242, 228, 255),
model = {
"models/player/bond.mdl",
},
description = [[The Citizen is the most basic level of society you can hold besides being a hobo. You have no specific role in city life.]],
weapons = {"keys", "weapon_fists", "weapon_arc_atmcard"},
command = "avoca",
max = 5,
salary = 125,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
category = "Sith",
})
end
--[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_CITIZEN
Quand je lance mon serveur j'ai une erreur lua que je n'arrive pas a résoudre
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 325.
The best help I can give you is this:
Right before the 'end', Lua expected to read a 'end of the file', but it didn't.
Hints:
- Did you forget a keyword?
- Did you forget a comma?
------- End of Simplerr error -------
Voila la ligne du jobs.lua vers la ligne 325
TEAM_AVOCAT = DarkRP.createJob("Avocat", {
color = Color(8, 242, 228, 255),
model = {
"models/player/bond.mdl",
},
description = [[The Citizen is the most basic level of society you can hold besides being a hobo. You have no specific role in city life.]],
weapons = {"keys", "weapon_fists", "weapon_arc_atmcard"},
command = "avoca",
max = 5,
salary = 125,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
category = "Sith",
})
end
--[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_CITIZEN
Dernière édition: