TibiaGameHost
Hello!
Hi, I want 2 effects for text, would possible?
Code:
local positions = {
["Trainers"] = {{x = 32343, y = 32219, z = 7}, 28},
["Items!"] = {{x = 32365, y = 32231, z = 7}, 55},
}
function onThink(cid, interval, lastExecution)
for text, v in pairs(config.positions) do
doSendAnimatedText(v[1], text, math.random(1, 255))
doSendMagicEffect(v[1], v[2] or 18)
end
return true
end