True, is easy and fast ;pphttp://otland.net/search.php
There are alot of scripts.
globalevents.xml:
XML:<globalevent name="tile_effect" interval="1" event="script" value="tile_effect.lua"/>
tile_effect.lua:
LUA:function onThink(cid, interval) return doSendMagicEffect({x = 1000, y = 1000, z = 7}, CONST_ME_ENERGYAREA) end
<globalevent name="Effecttile" interval="0.5" event="script" value="effecttile.lua"/>
local config = {
positions = {
["TEXT"] = { x = 997, y = 993, z = 7 }, -- max 10 letters!
["TEXT1"] = { x = 1006, y = 992, z = 7 },
},
effects = {
CONDITION_PARAM_DELAYED
}
}
function onThink(cid, interval, lastExecution)
for text, pos in pairs(config.positions) do
doSendMagicEffect(pos, math.random(1, #config.effects))
doSendAnimatedText(pos, text, math.random(1, 255))
-- YOU CAN USE ONLY 1 EFFECT BY USING THIS LINE :: doSendAnimatedText(pos, 31)
end
return TRUE
end