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