Untitled
Guest 1,099 25th Apr, 2022
function onCreatureTurn(creature)
end
function onCreatureSay(cid, type, msg)
end
function onCreatureChangeOutfit(creature)
end
local gdzie = {
co = {-- w tej tabeli podajemy podtabele z wyswietlanym tekstem i miejscem w ktorym ma sie wyswietlic
{"Vip", {x=462, y=495, z=8}},
{"Nagrody", {x=437, y=502, z=7}},
{"Train Room", {x=442, y=480, z=7}},
{"SMS Chest", {x=438, y=502, z=7}},
{"War Zone", {x=437, y=507, z=7}},
},
efekty = {28, 26}, -- efekty ktore pojawiaja sie na danym miejscu
coile = 2 -- czas w sekundach miedzy pojawieniami sie efektow
}
function wyswietl(gdzie)
for i=1, #gdzie.co do
doSendAnimatedText(gdzie.co[i][2], gdzie.co[i][1], math.random(210, 210))
doSendMagicEffect(gdzie.co[i][2], gdzie.efekty[math.random(1, #gdzie.efekty)])
end
addEvent(wyswietl,(gdzie.coile*1000),gdzie)
efektstart = 1
end
function onThink()
if efektstart ~= 1 then
addEvent(wyswietl,1,gdzie)
end
end
To share this paste please copy this url and send to your friends
RAW Paste Data
Recent Pastes
- Untitled
Markup | 5 | 21 minutes ago
- Wanted to see what your conviction is on this theme
Markdown | 4 | 1 hour ago
- Untitled
Markup | 42 | 1 day ago
- mega555kf7lsmb54yd6etzginolhxxi4ytdoma2rf77ngq55fhfcnyid.onion
Template Toolkit 2 | 22 | 1 day ago
- Untitled
Markup | 52 | 2 days ago
- Untitled
Markup | 52 | 2 days ago
- Untitled
Markup | 61 | 2 days ago