This is a globalevent:
In console appears that "doSendAnimatedText" is a deprecated function, but in my doc/LUA_FUNCTIONS is it:
How i fix this?
Regards !
Code:
local config = {
positions = {
["Enigma"] = { x = 963, y = 940, z = 7 },
["Trainers"] = { x = 963, y = 938, z = 7 }
}
}
function onThink(cid, interval, lastExecution)
for text, pos in pairs(config.positions) do
doSendAnimatedText(pos, text, math.random(1, 255))
end
return TRUE
end
In console appears that "doSendAnimatedText" is a deprecated function, but in my doc/LUA_FUNCTIONS is it:
Code:
doSendAnimatedText(pos, text, color)
How i fix this?
Regards !
Last edited: