Estou com um problema,
ERRO NO CONSOLE: Failed to execute event: think
Meu script:
<globalevent name="think" interval="1" script="trainer.lua"/>
local velocidade = 2000 -- 3 segundos
local color = 198
local function loop(valores)
doSendAnimatedText({x=2498, y=2492, z=6},"Come on",color)
doSendAnimatedText({x=2504, y=2492, z=6},"Trainer",color)
addEvent(loop, velocidade, valore) -- Não remova isso
end
function onThink(cid, item, frompos, item2, topos)
valore = {cid = cid, topos = topos}
addEvent(loop, velocidade, valore)
end