• 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!

Solved problem with doSendAnimatedText

cykor119

New Member
Joined
Aug 8, 2010
Messages
151
Solutions
1
Reaction score
4
I have one Ask.

doSendAnimatedText is now a deprecated function.

In client 9.81 or else 9.x ... This function has been Remove on thats clients?
If yes.. meybe we know functions with the same effect?
 
but how i can use that in :


Code:
local positions = {
    ["TALK TO HIM"] = {x = 1567, y = 542, z = 15},
    [" "] = {x = 1562, y = 523, z = 8},
    ["ZABIJ x15"] = {x = 1560, y = 547, z = 15},
    ["I IDZ DO"] = {x = 1561, y = 547, z = 15}
}
local effects = {55, 56, 31, 30}
function onThink(interval, lastExecution)
    for text, pos in pairs(positions) do
        doSendMagicEffect(pos, effects[math.random(1, #effects)])
        doSendAnimatedText(pos, text, math.random(1, 254))
    end
    return true
end

because i have if use creature:
(luaDoCreatureSay) Creature not found
 
Back
Top