Installer Steam
connexion
|
langue
简体中文 (chinois simplifié)
繁體中文 (chinois traditionnel)
日本語 (japonais)
한국어 (coréen)
ไทย (thaï)
Български (bulgare)
Čeština (tchèque)
Dansk (danois)
Deutsch (allemand)
English (anglais)
Español - España (espagnol castillan)
Español - Latinoamérica (espagnol d'Amérique latine)
Ελληνικά (grec)
Italiano (italien)
Bahasa Indonesia (indonésien)
Magyar (hongrois)
Nederlands (néerlandais)
Norsk (norvégien)
Polski (polonais)
Português (portugais du Portugal)
Português - Brasil (portugais du Brésil)
Română (roumain)
Русский (russe)
Suomi (finnois)
Svenska (suédois)
Türkçe (turc)
Tiếng Việt (vietnamien)
Українська (ukrainien)
Signaler un problème de traduction
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