Adiciona essa função no 050-function.lua :
function doSendAnimatedText(pos, value, color, player)
if not tonumber(value) then
return error("arg #2 in doSendAnimatedText is not a number")
end
if isPlayer(player) then
doPlayerSendTextMessage(player, MESSAGE_EXPERIENCE, "", value, color, pos)
else
for _, v in ipairs(getSpectators(pos, 7, 5, true)) do
if isPlayer(v) then
doPlayerSendTextMessage(v, MESSAGE_EXPERIENCE, "", value, color, pos)
end
end
end
end
~Escrito por ViitinG
Pra pegar em todos os sqm, usa o script do suicide:
local positions = {
["Treiners"] = {x = 409, y = 805, z = 7},
["Treiners"] = {x = 344, y = 738, z = 7},
["Treiners"] = {x = 650, y = 844, z = 7},
["Treiners"] = {x = 757, y = 826, z = 7},
["Treiners"] = {x = 1017, y = 709, z = 6},
["Treiners"] = {x = 1041, y = 560, z = 6},
["Treiners"] = {x = 800, y = 554, z = 6},
["Treiners"] = {x = 793, y = 709, z = 7},
["Treiners"] = {x = 796, y = 428, z = 6},
["Treiners"] = {x = 790, y = 357, z = 6},
["Treiners"] = {x = 547, y = 218, z = 7},
["Treiners"] = {x = 520, y = 182, z = 7}
}
function onThink(cid, interval, lastExecution)
for text, pos in pairs(positions) do
doSendMagicEffect(pos, math.random(CONST_ME_DRAWBLOOD, CONST_ME_LAST))
doSendAnimatedText(pos, text, math.random(1, 255))
end
return true
end
Vê se dá certo.