Çözüldü Skript Tabs Hatası

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Hiçbir kod satırıyla oynamadan direkt olarak sunucunuza aktarın.
2021-08-25_22.02.15.png
 
Skripti hallediyorum dostum bir saniye.
 
Dostum boşluk hataları hiç çözülmüyor nedense skripti yeniden yazmalısın ek olaraktan sağlıklı bir kodlama yöntemi belirteyim. Her bir satır kod yazdığında /sk reload çek.
 
Dostum boşluk hataları hiç çözülmüyor nedense skripti yeniden yazmalısın ek olaraktan sağlıklı bir kodlama yöntemi belirteyim. Her bir satır kod yazdığında /sk reload çek.
bu kadar yakından ilgilendiğiniz için teşekkür ediyorum. server açıldığında sizi de ağırlamak isterim.
 
Bu kod ile denermisiniz.

Kod:
command /spmarket [<text>]:
    trigger:
        if arg 1 is not set:
            open virtual chest with 2 rows named "&eSP Market" to player
            make gui slot 0 of player with mob spawner named "&7Taş Spawner" to close then run player command "spmarket tas"
            make gui slot 1 of player with mob spawner named "&eÇimen Spawner" to close then run player command "spmarket cimen"
            make gui slot 2 of player with mob spawner named "&bDemir Spawner" to close then run player command "spmarket demir"
            make gui slot 3 of player with mob spawner named "&7DemirBlok Spawner" to close then run player command "spmarket demirblock"
            make gui slot 4 of player with mob spawner named "&7Altın Spawner" to close then run player command "spmarket altin"
            make gui slot 5 of player with mob spawner named "&7AltınBlok Spawner" to close then run player command "spmarket altinblok"
            make gui slot 6 of player with mob spawner named "&7Elmas Spawner" to close then run player command "spmarket elmas"
            make gui slot 7 of player with mob spawner named "&7ElmasBlok Spawner" to close then run player command "spmarket elmasblok"
            make gui slot 8 of player with mob spawner named "&7Zümrüt Spawner" to close then run player command "spmarket zumrut"
            make gui slot 9 of player with mob spawner named "&7ZümrütBlok Spawner" to close then run player command "spmarket zumrutblok"
            make gui slot 10 of player with mob spawner named "&7Kızıltaş Spawner" to close then run player command "spmarket kiziltaş"
            make gui slot 11 of player with mob spawner named "&7KızıltaşBlok Spawner" to close then run player command "spmarket kiziltasblok"
            make gui slot 12 of player with mob spawner named "&7Kuvars Spawner" to close then run player command "spmarket kuvars"
            make gui slot 13 of player with mob spawner named "&7KuvarsBlok Spawner" to close then run player command "spmarket kuvarsblok"
            make gui slot 14 of player with mob spawner named "&7Prizmarin Spawner" to close then run player command "spmarket prizmarin"
            make gui slot 15 of player with mob spawner named "&7Endtaşı Spawner" to close then run player command "spmarket endtasi"
            make gui slot 16 of player with mob spawner named "&7Sünger Spawner" to close then run player command "spmarket sunger"
            make gui slot 17 of player with mob spawner named "&7Kaktüs Spawner" to close then run player command "spmarket kaktus"
        if arg 1 is "demir":
            if player's money is bigger than 10000:
                execute console command "eco take %player% 10000"
                execute console command "itemsp ver %player% demir"
                send "&c&lHey! &7Başarıyla &eDemir &7Spawner aldın."
            else:
                send "&c&lHey! &7Yetersiz bakiye."

1629960423416.png
 
Bu kod ile denermisiniz.

Kod:
command /spmarket [<text>]:
    trigger:
        if arg 1 is not set:
            open virtual chest with 2 rows named "&eSP Market" to player
            make gui slot 0 of player with mob spawner named "&7Taş Spawner" to close then run player command "spmarket tas"
            make gui slot 1 of player with mob spawner named "&eÇimen Spawner" to close then run player command "spmarket cimen"
            make gui slot 2 of player with mob spawner named "&bDemir Spawner" to close then run player command "spmarket demir"
            make gui slot 3 of player with mob spawner named "&7DemirBlok Spawner" to close then run player command "spmarket demirblock"
            make gui slot 4 of player with mob spawner named "&7Altın Spawner" to close then run player command "spmarket altin"
            make gui slot 5 of player with mob spawner named "&7AltınBlok Spawner" to close then run player command "spmarket altinblok"
            make gui slot 6 of player with mob spawner named "&7Elmas Spawner" to close then run player command "spmarket elmas"
            make gui slot 7 of player with mob spawner named "&7ElmasBlok Spawner" to close then run player command "spmarket elmasblok"
            make gui slot 8 of player with mob spawner named "&7Zümrüt Spawner" to close then run player command "spmarket zumrut"
            make gui slot 9 of player with mob spawner named "&7ZümrütBlok Spawner" to close then run player command "spmarket zumrutblok"
            make gui slot 10 of player with mob spawner named "&7Kızıltaş Spawner" to close then run player command "spmarket kiziltaş"
            make gui slot 11 of player with mob spawner named "&7KızıltaşBlok Spawner" to close then run player command "spmarket kiziltasblok"
            make gui slot 12 of player with mob spawner named "&7Kuvars Spawner" to close then run player command "spmarket kuvars"
            make gui slot 13 of player with mob spawner named "&7KuvarsBlok Spawner" to close then run player command "spmarket kuvarsblok"
            make gui slot 14 of player with mob spawner named "&7Prizmarin Spawner" to close then run player command "spmarket prizmarin"
            make gui slot 15 of player with mob spawner named "&7Endtaşı Spawner" to close then run player command "spmarket endtasi"
            make gui slot 16 of player with mob spawner named "&7Sünger Spawner" to close then run player command "spmarket sunger"
            make gui slot 17 of player with mob spawner named "&7Kaktüs Spawner" to close then run player command "spmarket kaktus"
        if arg 1 is "demir":
            if player's money is bigger than 10000:
                execute console command "eco take %player% 10000"
                execute console command "itemsp ver %player% demir"
                send "&c&lHey! &7Başarıyla &eDemir &7Spawner aldın."
            else:
                send "&c&lHey! &7Yetersiz bakiye."

Ekli dosyayı görüntüle 185765
Çok çok çok teşekkür ediyorum alt kısmı yapıyorum sorun çıkarsa terkrar atsam sakıncası var mı ?
 
Görürsem yardım etmeye çalışırım.
 
Bunun gibi mi?

1629962576911.png
 
Kodları bu şekilde değiştirebilirsiniz. <fiyat> yazan yerleri gerçek fiyatları ile değiştirmeyi unutmayın.
Kod:
if arg 1 is not set:
            open virtual chest with 2 rows named "&eSP Market" to player
            make gui slot 0 of player with mob spawner named "&7Taş Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket tas"
            make gui slot 1 of player with mob spawner named "&eÇimen Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket cimen"
            make gui slot 2 of player with mob spawner named "&bDemir Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket demir"
            make gui slot 3 of player with mob spawner named "&7DemirBlok Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket demirblock"
            make gui slot 4 of player with mob spawner named "&7Altın Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket altin"
            make gui slot 5 of player with mob spawner named "&7AltınBlok Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket altinblok"
            make gui slot 6 of player with mob spawner named "&7Elmas Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket elmas"
            make gui slot 7 of player with mob spawner named "&7ElmasBlok Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket elmasblok"
            make gui slot 8 of player with mob spawner named "&7Zümrüt Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket zumrut"
            make gui slot 9 of player with mob spawner named "&7ZümrütBlok Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket zumrutblok"
            make gui slot 10 of player with mob spawner named "&7Kızıltaş Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket kiziltaş"
            make gui slot 11 of player with mob spawner named "&7KızıltaşBlok Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket kiziltasblok"
            make gui slot 12 of player with mob spawner named "&7Kuvars Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket kuvars"
            make gui slot 13 of player with mob spawner named "&7KuvarsBlok Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket kuvarsblok"
            make gui slot 14 of player with mob spawner named "&7Prizmarin Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket prizmarin"
            make gui slot 15 of player with mob spawner named "&7Endtaşı Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket endtasi"
            make gui slot 16 of player with mob spawner named "&7Sünger Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket sunger"
            make gui slot 17 of player with mob spawner named "&7Kaktüs Spawner" with lore "&7Fiyat: &a <fiyat>" to close then run player command "spmarket kaktus"
 
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