function onLogin(cid)
if(started == false) then
started = true
local timespeed = 2000 -- 2000 = 2 seconds
local function loop()
doSendAnimatedText({x=776,y=693,z=7}, 'Training', math.random(01,255))
doSendAnimatedText({x=778,y=693,z=7}, 'City', math.random(01,255))
doSendAnimatedText({x=780,y=693,z=7}, 'Teleports', math.random(01,255))
doSendAnimatedText({x=782,y=693,z=7}, 'Beginners', math.random(01,255))
doSendAnimatedText({x=773,y=693,z=7}, 'Blessings', math.random(01,255))
doSendAnimatedText({x=774,y=693,z=7}, 'Blessings', math.random(01,255))
doSendAnimatedText({x=784,y=693,z=7}, 'VIP Area', math.random(01,255))
doSendAnimatedText({x=785,y=693,z=7}, 'VIP Area', math.random(01,255))
doSendAnimatedText({x=777,y=702,z=7}, 'War Zone', math.random(01,255))
doSendAnimatedText({x=778,y=702,z=7}, 'War Zone', math.random(01,255))
doSendAnimatedText({x=780,y=702,z=7}, 'War Zone', math.random(01,255))
doSendAnimatedText({x=781,y=702,z=7}, 'War Zone', math.random(01,255))
doSendAnimatedText({x=841,y=696,z=7}, 'War Zone', math.random(01,255))
doSendAnimatedText({x=841,y=697,z=7}, 'War Zone', math.random(01,255))
doSendAnimatedText({x=779,y=698,z=7}, 'Shops', math.random(01,255))
--- Aqui poe as funçoes que ocorreram de 3 em 3 segundos.
addEvent(loop, timespeed, valore) -- N?o remova isso
end
--- isso abaixo e para iniciar o loop.
function onSay(cid, words, param)
valore = {cid = cid, topos = topos}
addEvent(loop, velocidade, valore)
end
end
return TRUE
end