Is it possible to edit this script? from tfs 0.4 to tfs 1.2.....
Lua:
function doNewSendAnimatedText(pos, text, color, cid)
if tonumber(text) then
text = tonumber(text)
if cid and isPlayer(cid) then
doPlayerSendTextMessage(cid, MESSAGE_EXPERIENCE_OTHERS, '', text, color, pos)
else
local t = getSpectators(pos, 7, 5, false)
if t then
for _, cid in ipairs(t) do
if isPlayer(cid) then
doPlayerSendTextMessage(cid, MESSAGE_EXPERIENCE_OTHERS, '', text, color, pos)
end
end
end
end
else
if cid and isCreature(cid) then
doCreatureSay(cid, text, TALKTYPE_MONSTER)
else
local t = getSpectators(pos, 7, 5, false)
if t then
for _, cid in ipairs(t) do
if isPlayer(cid) then
doCreatureSay(cid, text, TALKTYPE_MONSTER, false, cid, pos)
end
end
end
end
end
end