Instalează Steam
conectare
|
limbă
简体中文 (chineză simplificată)
繁體中文 (chineză tradițională)
日本語 (japoneză)
한국어 (coreeană)
ไทย (thailandeză)
български (bulgară)
Čeština (cehă)
Dansk (daneză)
Deutsch (germană)
English (engleză)
Español - España (spaniolă - Spania)
Español - Latinoamérica (spaniolă - America Latină)
Ελληνικά (greacă)
Français (franceză)
Italiano (italiană)
Bahasa Indonesia (indoneziană)
Magyar (maghiară)
Nederlands (neerlandeză)
Norsk (norvegiană)
Polski (poloneză)
Português (portugheză - Portugalia)
Português - Brasil (portugheză - Brazilia)
Русский (rusă)
Suomi (finlandeză)
Svenska (suedeză)
Türkçe (turcă)
Tiếng Việt (vietnameză)
Українська (ucraineană)
Raportează o problemă de traducere
local laneDividers = skinvars["lanedividers"]
for i=1,#laneDividers do
The local variables ( specifically in AS2 skin lua ) are kind of unstable, if you have more than one of the same "local" in your script ( in this case you had two "laneDividers" ), it will corrupt the entire script and you have to start a new one, in another word rebuild the skin.
Not an expert here, but I had the same problem when creating my skin, simply remove the other "local" doesn't help, re-work is probably the only way to go. Sorry you had to experience this :(
Side note: If you want two CreateRail() to use the same "local" variable, put them into one "local" like this:
local shoulderLines = skinvars["shoulderlines"]
for i=1,#shoulderLines do
CreateRail{ -- lane line
something
}
CreateRail{ -- lane line
something
}
}
end