0 Üye ve 1 Ziyaretçi konuyu incelemekte.
function loginyazi ()setTimer(chatbilgi, 10, 1, source)endaddEventHandler("onPlayerLogin", getRootElement(), loginyazi)function chatbilgi (oyuncu)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox("[!] #FFFFFFBaşarılı bir şekilde giriş yaptınız !", oyuncu, 0,255,0,true)end
server.luaKodfunction loginyazi ()setTimer(chatbilgi, 10, 1, source)endaddEventHandler("onPlayerLogin", getRootElement(), loginyazi)function chatbilgi (oyuncu)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox(" ", oyuncu, 255,0,0)outputChatBox("[!] #FFFFFFBaşarılı bir şekilde giriş yaptınız !", oyuncu, 0,255,0,true)end
bunun yerine for ya da while kullansaydın daha mantıklı olmaz mıydı?
function loginyazi ()for i=1,10 dooutputChatBox(" ", source, 255,0,0)endoutputChatBox("[!] #FFFFFFBaşarılı bir şekilde giriş yaptınız !", source, 0,255,0,true)endaddEventHandler("onPlayerLogin", getRootElement(), loginyazi)