• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

doSendAnimatedText ¿Deprecated function?

Xapuur

New Member
Joined
Sep 15, 2009
Messages
157
Reaction score
0
Location
Chile
This is a globalevent:
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:
Back
Top