Çözüldü Eşyaya tıklayınca GUI kapanıyor

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

dimitris831

Demir Cevheri Gibiyim
Katılım
31 Ocak 2020
Mesajlar
194
Elmaslar
43
Puan
0
Yaş
25
Konum
İzmir, Selçuk
Minecraft
dimitris831
Facebook
ichbindimitris
X
dimitrisabiniz

Discord:

dimitris831#0001

Merhaba arkadaşlar, birçok konuya baktım, istediğim şey komutla chest açınca içerisindeki bir şeye tıklandığında hiçbir şeyin olmamasıydı. Araştırdım ve buldum, to close then run yerine to run yazmam gerekiyormuş. Ama hata veriyor, işe yaramadı. Yardımcı olabilir misiniz?

Skript:
Kod:
command /warp [<text>]:
    trigger:
        if arg 1 is not set:
            wait 2 ticks
            open chest with 3 rows named "&7Işınlanma &cNoktaları" to player
            format slot 13 of player with compass named "&cLobi" to run
            stop

Aldığım hata:
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
 
Merhaba kodu yanlış yazmışsınız doğrusuna örnek
JavaScript:
format slot 8 of player with light gray glass named "lol" with lore "lol" to close then run "warp mc-tr"

Komut kullandırmak için bir başka yöntem
JavaScript:
format slot 12 of player with arrow named "&aMC-TR" to run [execute player command "/mctr"]
 
Merhaba kodu yanlış yazmışsınız doğrusuna örnek
JavaScript:
format slot 8 of player with light gray glass named "lol" with lore "lol" to close then run "warp mc-tr"

Komut kullandırmak için bir başka yöntem
JavaScript:
format slot 12 of player with arrow named "&aMC-TR" to run [execute player command "/mctr"]

Amacım tıklayınca kapanmaması, to run [execute player command "warp"] yaptığım zaman ise pusulaya tıklayınca pusula elimde kalıyor.
 
Kod:
command /menu:
    trigger:
        open chest with 3 rows named "&a&lMC-TR Menu" to player
        format slot 0 of player with grass named "&b&lSkyblock" to close then run [execute console command "mvtp %player% skyblock"]
        format slot 13 of player with diamond named "&b&lElmas al" to close then run [execute console command "give %player% diamond"]
        format slot 8 of player with barrier named "&6&lGadgets" to close then run "gadgets" # If just "" does not work use this than: [make player execute "gadgets"]
        format slot 26 of player with paper named "&4&lYenile" to close then run "reload" # Again if this doesn't work use: [execute layer command "reload"]

on rightclick with 399:
    if evnt-world is "Your specific world here!" # If you don't want it to be executed, place a "#" in the front of this line and remove 1 tab of this line below!
        make player execute "menu"
Örnek böyle bir kod atayım
 
Sorunu basitçe çözdüm;

Kod:
command /warp [<text>]:
    trigger:
        if arg 1 is not set:
            wait 2 ticks
            open chest with 3 rows named "&7Işınlanma &cNoktaları" to player
            wait 1 tick
            format slot 13 of player with compass named "&cLobi" to run [execute console command ""]

Yine de yardımlarınız için teşekkürler.
 
Sorunu basitçe çözdüm;

Kod:
command /warp [<text>]:
    trigger:
        if arg 1 is not set:
            wait 2 ticks
            open chest with 3 rows named "&7Işınlanma &cNoktaları" to player
            wait 1 tick
            format slot 13 of player with compass named "&cLobi" to run [execute console command ""]

Yine de yardımlarınız için teşekkürler.
Rica ederim, atığım kod size yardımcı oldumu?
 
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