0 Üye ve 1 Ziyaretçi konuyu incelemekte.
local sX, sY = guiGetScreenSize() x = 0konum = 1r,g,b = 155,155,155rainbow = 0local messagesList = { "ATEŞ GAMİNG", "SERVERİMİZE HOŞGELDİNİZ", "IYI OYUNLAR DİLERİZ"}local currentMessage = 0function rainboww() if rainbow == 0 then if r < 250 then r = r + 3 if r > 255 then r = 250 end else rainbow = 1 end end if rainbow == 1 then if g < 250 then g = g + 3 else rainbow = 2 end elseif rainbow == 2 then if b < 255 then if r > 0 then if r < 3 then r = r - 1 else r = r - 3 end else r = 0 end b = b + 3 if b > 255 then b = 255 end else rainbow = 3 end elseif rainbow == 3 then if g > 0 then if r > 0 then if r < 3 then r = r - 1 else r = r - 3 end else r = 0 end if g < 3 then g = g - 1 else g = g - 3 end if g < 0 then g = 0 end else rainbow = 4 end elseif rainbow == 4 then if b > 0 then if b < 3 then b = b - 1 else b = b - 3 end if b < 0 then b = 0 end else b = 0 rainbow = 0 end end length = dxGetTextWidth(messagesList[currentMessage + 1],1,"bankgothic") height = dxGetFontHeight(1,"bankgothic") if konum == 1 then if x > sX - length then konum = 0 else x = x + 1 end else if x < 0 then konum = 1 x = x + 1 updateMessage() else x = x - 1 end end dxDrawText(messagesList[currentMessage + 1],x,sY-height,length,height,tocolor(r,g,b,255),1,"bankgothic","left","top") endaddEventHandler("onClientRender",getRootElement(),rainboww)function updateMessage() if (currentMessage == 2) then currentMessage = 0 else currentMessage = currentMessage + 1 endend
Yararlı paylaşım, başarılar.
Nice job. Dx'ede başladın ha. Öğrenmişsin bir şeyler.
Yararlı Paylaşım Dx bilmeyen bir kişi olarak gelişme büyük