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

Lua In game effects on tps.

Rossii

Member
Joined
Mar 27, 2012
Messages
366
Reaction score
6
Location
England
Hi im just making this thread because i need help with in game effects on the tps
i know how to get words. But i would like 2 effects on the same tp.

Thanks
 
You can try globalevents with different intervals.

Code:
local config = {
positions = {
    ["Arena!"] = { x = 1000, y = 996, z = 7 }, --- Pos of where you want the word to say!
},

effects = {
CONDITION_PARAM_DELAYED
}
}

function onThink(cid, interval, lastExecution)
    for text, pos in pairs(config.positions) do
        doSendAnimatedText(pos, text, math.random(5, 5))
    end
    return TRUE
end

And you can change the interval in globalevents.xml.
 
Back
Top