GregRin
Active User
- Dołączył
- Kwiecień 3, 2010
- Posty
- 116
- Liczba reakcji
- 4
W folderze data/Globalevents robimy plik effect.lua
Pozniej w globalevents.xmp dodajemy:
Welcome tutaj dajemy jaki chcemy napis.
x = 1027, y = 1014, z = 7 tutaj umieszczamu wspolzedne danej kratki.
Mam nadzieje, ze pomoglem Pozdro GregRin
local config = {
positions = {
["Welcome"] = { x = 1031, y = 1018, z = 7 },
["Start Items"] = { x = 1027, y = 1014, z = 7 },
["Expy"] = { x = 1034, y = 1014, 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))
end
return TRUE
end
Pozniej w globalevents.xmp dodajemy:
<globalevent name="EffectTiles" interval="1" event="script" value="effect.lua"/>
Welcome tutaj dajemy jaki chcemy napis.
x = 1027, y = 1014, z = 7 tutaj umieszczamu wspolzedne danej kratki.
Mam nadzieje, ze pomoglem Pozdro GregRin