Bonjour, bonsoir,
Voilà ma console m'indique une erreur dans un script, je n'arrive pas a la corriger je comprend pas l'erreur.. Si vous pouviez m'aider, j'ai quelque erreur comme ça
ERROR: Loading script failed: [DayZ-MTA]/DayZ/pickups.lua:611: unexpected symbol near '='
military = {
{
"Box of Matches",
328,
0.4,
90,
2
},
etc etc
La première ligne correspond a cette fameuse ligne 611
ERROR: Loading script failed: [DayZ-MTA]/DayZ/spawn.lua:477: unexpected symbol near '=' ( la première ligne correspond a la ligne 477 )
Skins = {}
function spawnDayZPlayer(player)
local number = math.random(table.size(spawnPositions))
local x, y, z = spawnPositions[number][1], spawnPositions[number][2], spawnPositions[number][3]
spawnPlayer(player, x, y, z + 0.5, math.random(0, 360), 73, 0, 0)
fadeCamera(player, true) etc etc
ERROR: Loading script failed: [DayZ-MTA]/DayZ/survivorSystem.lua:825: '}' expected (to close '{' at line 780) near '{'
( la ligne 1 correspond a la ligne 780 )
skinTable = {
{
"Camouflage Clothing",
287
},
{
"Civilian Clothing",
179
},
{
"Civilian[F] Clothing",
93
},
{
"Ghillie Suit",
285
},
{
"Ghillie Suit",
94
},
{
"Survivor[F] Clothing",
191
},
{
"Survivor Clothing",
73
},
{
"Cop Clothing",
17
},
{
"A.E.I Clothing",
18
},
{
"Terrorist Clothing",
19
},
{
"Army Clothing",
20
}
{
"Civilian Clothing 1",
179
},
{
"Civilian Clothing 2",
2
},
{
"Civilian Clothing 3",
33
},
{
"Civilian Clothing 4",
44
},
{
"Civilian Clothing 5",
5
},
{
"Civilian Clothing 6",
6
},
{
"Civilian Clothing 7",
7
},
{
"Civilian Clothing 8",
8
},
{
"Civilian Clothing 9",
9
},
{
"Civilian Clothing 10",
10
},
{
"Ghillie Suit",
285
},
{
"Survivor Clothing",
73
},
}
ERROR: Loading script failed: [DayZ-MTA]/DayZ/login.lua:623: '(' expected near 'saveallvehicles' ( la ligne 1 correspond a la ligne 623 )
function saveallvehicles(ps, command)
counter = 0
counterTent = 0
local vehicleManager = getAccount("vehicleManager", "ds4f9$")
for i, col in ipairs(getElementsByType("colshape")) do
etc etc
Si on pouvais me dire comment faire ça serait cool