Follow along with the video below to see how to install our site as a web app on your home screen.
Notka: This feature may not be available in some browsers.
local text = {
--X pos,Y pos, Z pos, text
[1] = {pos = {1004,995,7}, text = {"[COLOR="RoyalBlue"]Tekst[/COLOR]"}},
}
local effects = {
--X pos,Y pos, Z pos, text
[1] = {pos = {[COLOR="Magenta"]1004,995,7[/COLOR]}, effect = {[COLOR="Yellow"]28[/COLOR]}},
}
function onThink(interval, lastExecution)
for _, area in pairs(text) do
doSendAnimatedText({x=area.pos[1],y=area.pos[2],z=area.pos[3]},area.text[1], math.random(01,255))
end
for _, area in pairs(effects) do
doSendMagicEffect({x=area.pos[1],y=area.pos[2],z=area.pos[3]},area.effect[1])
end
return TRUE
end
<globalevent name="effects" interval="2" event="script" value="effects.lua"/>