Çözüldü spmarket Skripti çalışmıyor

  • Konuyu Başlatan Konuyu Başlatan void
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 338
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

void

Birisi mi Spawnlandı?
Katılım
8 Mayıs 2021
Mesajlar
6
Elmaslar
0
Puan
1.980
Minecraft
MarguritezzXD

Discord:

void#0515

Kod:
command /spmarket:
    trigger:
        open chest with 1 row named "&8&lSpawner Al" to player
        wait 2 ticks
        format slot 4 of player with diamond block named "&eElmas Blok Spawner" with lore "&8| &f&120B &8|" to close then run [execute player command "eco take %player% 120000000000"]         


command /elmasbal:
    trigger:
        if player's balance is bigger than or equal to 120000000000:
            remove 120000000000 from player's balance
            execute player command "hsp give zumrutblok %player% 1 1"
            send player title "&a✔" with subtitle "&aİşlem Başarılı!" for 2 seconds
        else:
            send player title "&4✘" with subtitle "&cYetersiz Para" for 2 seconds

çalıssa bile parayı alıyor sp vermıyor sp verıyo para almıyo
 
Moderatör tarafından düzenlendi:
JavaScript:
command /elmasbal:
    trigger:
        if player's balance is bigger than or equal to 120000000000:
            remove 120000000000 from player's balance
            execute player command "say s"
            send player title "&a✔" with subtitle "&aİşlem Başarılı!" for 2 seconds
        else:
            send player title "&4✘" with subtitle "&cYetersiz Para" for 2 seconds
Spawner vermesi için "execute player command" değil "console command olmalı

Player command oyuncunun yetkisi yettiği dahilde işe yarayacaktır, yetki gerektiren durumlar için "console command" kullan
 
Spawner vermesi için "execute player command" değil "console command olmalı

Player command oyuncunun yetkisi yettiği dahilde işe yarayacaktır, yetki gerektiren durumlar için "console command" kullan
Kod:
command /ssdf:
    trigger:
        open chest with 1 row named "&8&lSpawner Al" to player
        wait 2 ticks
        format slot 4 of player with diamond block named "&eElmas Blok Spawner" with lore "&8| &f&120B &8|" to close then run [console command "eco take %player% 120000000000"]         


command /elmasbal:
    trigger:
        if player's balance is bigger than or equal to 120000000000:
            remove 120000000000 from player's balance
            console command "hsp give zumrutblok %player% 1 1"
            send player title "&a✔" with subtitle "&aİşlem Başarılı!" for 2 seconds
        else:
            send player title "&4✘" with subtitle "&cYetersiz Para" for 2 seconds

---

Hata ney buradakı
 
Moderatör tarafından düzenlendi:
"execute console command" olmalı
 
console command "eco take %player% 120000000000"

kısmını

player command "/elmasbal"

olarak düzenleyin
 
Merhaba Hatalı kodunuz:

Kod:
command /spmarket:
    trigger:
        open chest with 1 row named "&8&lSpawner Al" to player
        wait 2 ticks
        format slot 4 of player with diamond block named "&eElmas Blok Spawner" with lore "&8| &f&120B &8|" to close then run [execute player command "eco take %player% 120000000000"]


command /elmasbal:
    trigger:
        if player's balance is bigger than or equal to 120000000000:
            remove 120000000000 from player's balance
            execute player command "hsp give zumrutblok %player% 1 1"
            send player title "&a✔" with subtitle "&aİşlem Başarılı!" for 2 seconds
        else:
            send player title "&4✘" with subtitle "&cYetersiz Para" for 2 seconds

Düzeltilmiş hali:

Kod:
command /spmarket:
    trigger:
        open chest with 1 row named "&8&lSpawner Al" to player
        wait 2 ticks
        format slot 4 of player with diamond block named "&eElmas Blok Spawner" with lore "&8| &f&120B &8|" to close then run [execute player command "eco take %player% 120000000000"]


command /elmasbal:
    trigger:
        if player's balance is bigger than or equal to 120000000001:
            console command "eco take %player% 120000000000"
            execute console command "hsp give zumrutblok %player% 1 1"
            send player title "&a✔" with subtitle "&aİşlem Başarılı!" for 2 seconds
        else:
            send player title "&4✘" with subtitle "&cYetersiz Para" for 2 seconds

İyi Günler! :)
 
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