Çözüldü Hata ?

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

RomanticWarior

Yay Yok, İskelet Yok
Katılım
12 Eylül 2017
Mesajlar
279
Elmaslar
113
Puan
4.350
Arkadaşlar aşşagıdaki kodda hata alıyorum yardım edebilecek varmı. yapmak istedigim şey 11. slotada item eklemek ama olmuyor

Kod:
command /sandık [<player>]:
    trigger:
        if arg 1 is online:
            open chest with 3 rows named "&b%arg 1% Madalyaları." to player
            if {elmas.%arg 1%} is greater than or equal to 1:
                format slot 10 of player with diamond of unbreaking 1 named "&6deneme" with lore "&7Deneme: &2Aktif.||&e[ &a%{elmas.%player%}%&e ]" to close
            else:
                format slot 10 of player with diamond named "&aDeneme" with lore "&7Deneme &cDeaktif. ||&e[ &a%{elmas.%player%}%&e ]" to close
            if {zumrut.%arg 1%} is greater than or equal to 1:
                format slot 11 of player with diamond of unbreaking 1 named "&6deneme" with lore "&7Deneme: &2Aktif.||&e[ &a%{elmas.%player%}%&e ]" to close
            else:
                format slot 11 of player with emerald named "&aDeneme" with lore "&7Deneme &cDeaktif. ||&e[ &a%{zurmut.%player%}%&e ]" to close
        else:
            send "&cDogru kullanım: &e-/sandık <oyuncu>" to player
 
bir tab sırasına birden fazla else koyman hata kısmı
 
Sistemi zaten ben yaptıgım için :D
Sorun çözüldüyse :) ne yapman gerektiğini biliyorsun :D

Kod:
command /sandık <player>:
    trigger:
        if arg 1 is set:
            open chest with 3 rows named "&b%arg 1% Madalyaları." to player
            if {elmas.%arg 1%} is greater than or equal to 1:
                format slot 12 of player with diamond of unbreaking 1 named "&6deneme" with lore "&7Deneme: &2Aktif.||&e[ &a%{elmas.%player%}%&e ]" to close
            else:
                format slot 12 of player with diamond named "&aDeneme" with lore "&7Deneme &cDeaktif. ||&e[ &a%{elmas.%player%}%&e ]" to close
            if {zumrut.%arg 1%} is greater than or equal to 1:
                format slot 14 of player with diamond of unbreaking 1 named "&6deneme" with lore "&7Deneme: &2Aktif.||&e[ &a%{elmas.%player%}%&e ]" to close
            else:
                format slot 14 of player with emerald named "&aDeneme" with lore "&7Deneme &cDeaktif. ||&e[ &a%{zurmut.%player%}%&e ]" to close
 
Sistemi zaten ben yaptıgım için :D
Sorun çözüldüyse :) ne yapman gerektiğini biliyorsun :D

Kod:
command /sandık <player>:
    trigger:
        if arg 1 is set:
            open chest with 3 rows named "&b%arg 1% Madalyaları." to player
            if {elmas.%arg 1%} is greater than or equal to 1:
                format slot 12 of player with diamond of unbreaking 1 named "&6deneme" with lore "&7Deneme: &2Aktif.||&e[ &a%{elmas.%player%}%&e ]" to close
            else:
                format slot 12 of player with diamond named "&aDeneme" with lore "&7Deneme &cDeaktif. ||&e[ &a%{elmas.%player%}%&e ]" to close
            if {zumrut.%arg 1%} is greater than or equal to 1:
                format slot 14 of player with diamond of unbreaking 1 named "&6deneme" with lore "&7Deneme: &2Aktif.||&e[ &a%{elmas.%player%}%&e ]" to close
            else:
                format slot 14 of player with emerald named "&aDeneme" with lore "&7Deneme &cDeaktif. ||&e[ &a%{zurmut.%player%}%&e ]" to close

Teşekkürler :)
 
sorun çözüldüyse konut kilitlensin ozaman ? :D
 
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
Üst