0 Üye ve 1 Ziyaretçi konuyu incelemekte.
function siralama3(oyuncu)if not isElement(oyuncu) thenreturnendlocal Siralama3 = {} local CreatTop = executeSQLQuery("SELECT * FROM LsTestPx ORDER BY `level` DESC LIMIT 20")for i = 1, #CreatTop dolocal hesap = getAccount(CreatTop[i].oyuncu_hesap) if hesap then nick3 = getAccountData(getAccount(CreatTop[i].oyuncu_hesap),"nickname") endtable.insert(Siralama3, {hesap = nick3 or CreatTop[i].oyuncu_hesap, level = CreatTop[i].level_exp or 1 ,}) endsetTimer(function()for k, data in ipairs(Siralama3) doif k == 1 thentriggerClientEvent(oyuncu, "liste3_sifirla", oyuncu)end triggerClientEvent(oyuncu, "liste3_yenile", oyuncu,tostring(data.hesap),tostring(data.level),tonumber(k))if k == 20 thentable.remove(Siralama3)breakendendend,500,1) end