Çözüldü | Hologramlı TOP10 |

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

erenbaba4644w

Somon Balığı Selam Vermeye Geldi
Katılım
19 Mart 2018
Mesajlar
15
Elmaslar
0
Puan
0
Yaş
26
Selam Dostlar, Benim Bir Tane Hologramlı TOP10 Sistemim Var Ama Çalışmıyor. Yani TOP10 Ları Oluşturmuyor. Ben TOP10'Ları Oluşturmasını İstiyorum

Buyrun Kod;
Kod:
[/B]
[B]function sırala(indexes: Objects, values: Objects) :: Strings:
    set {_size} to size of {_values::*}
    loop {_size} times:
        loop {_size} - 1 times:
            set {_value1} to {_values::%loop-number-2%}
            set {_value2} to {_values::%loop-number-2 + 1%}
            {_value1} is less than {_value2}
            set {_index1} to {_indexes::%loop-number-2%}
            set {_indexes::%loop-number-2%} to {_indexes::%loop-number-2 + 1%}
            set {_values::%loop-number-2%} to {_value2}
            set {_indexes::%loop-number-2 + 1%} to {_index1}
            set {_values::%loop-number-2 + 1%} to {_value1}
        remove 1 from {_size}
    return {_indexes::*}     

on command:
    if full command is "/is level" or "/island level":
        set {ada::%player%} to asb island level of player
                
command /top10ada:
    trigger:
        set {_top10::*} to sırala(indexes of {ada::*}, {ada::*})
        set {_y} to 0
        loop {_top10::*}:
            add 1 to {_y}
            if {_y} is not 11:
                add "&8[&a%loop-index%.&8] &e%loop-value% &b%{ada::%loop-value%}%;" to {_liste::*}
            else:
                stop loop 
        edit holo object "ada" to "&eHer &8[&a10&8] &eSaniyede Bir Yenilenir.;;%join {_liste::*} with """"%"
            
every 10 second:
     execute console command "/top10ada"
 
Skripti yazanla görüşmelisiniz.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl