tenta fazer com for i = x, não tenho crtza nenhuma pq n sei se isso pega os locais blabla =...
function getMoves(mode, text)
if not g_game.isOnline() then return end
if mode == MessageModes.Failure then
if text:find("12") then
local t = string.explode(text, ",")
for i = 1, 12 do
local TimeSpell = tonumber(t[i+1])
local progressSpell = movesWindow:recursiveGetChildById("m"..i)
if progressSpell:getPercent() < 100 then
return
end
updateProgressSpell(progressSpell1, TimeSpell*10, true)
end
end
end
end




info
Grupo: Visconde
Registrado: 23/02/13
Posts: 437
Reputação: +71
Gênero: Masculino
Glaera do Ekz nao tenho os dons do lua ^^ , queria saber se tem como diminuir essa função mas sem que ela perca o efeito ^^
função: