Skocz do zawartości
  • 0

Problem ze skryptem w GUI


Shingan 21
 Udostępnij

Pytanie

Witam, mam problem z komendą w GUI (w skrzynce).
Najpierw dam kod:
 

command /pomoc:    
    trigger:    
        open chest with 3 rows named "Komendy" to player
        wait 1 tick
        format slot 0 of player with 1 of black glass to close
        format slot 1 of player with 1 of black glass to close
        format slot 2 of player with 1 of black glass to close
        format slot 3 of player with 1 of black glass to close
        format slot 4 of player with 1 of black glass to close
        format slot 5 of player with 1 of black glass to close
        format slot 6 of player with 1 of black glass to close
        format slot 7 of player with 1 of black glass to close
        format slot 8 of player with 1 of black glass to close
        format slot 9 of player with 1 of black glass to close
        format slot 10 of player with 1 of black glass to close
        format slot 11 of player with 1 of red wool named "&b/informacje" to close
        format slot 12 of player with 1 of orange wool named "&b/administracja" to close
        wait 1 tick
        format slot 13 of player with 1 of red wool named "&b/drop" to close then run "sudo %player% drop"
        wait 1 tick
        format slot 14 of player with 1 of orange wool named "&b/strony" to close
        format slot 15 of player with 1 of red wool named "&b/teleporty" to close
        format slot 16 of player with 1 of black glass to close
        format slot 17 of player with 1 of black glass to close
        format slot 18 of player with 1 of black glass to close
        format slot 19 of player with 1 of black glass to close
        format slot 20 of player with 1 of black glass to close
        format slot 21 of player with 1 of black glass to close
        format slot 22 of player with 1 of black glass to close
        format slot 23 of player with 1 of black glass to close
        format slot 24 of player with 1 of black glass to close
        format slot 25 of player with 1 of black glass to close
        format slot 26 of player with 1 of black glass to close
command /drop:    
    trigger:    
        open chest with 3 rows named "&bDrop" to player
        wait 1 tick
        format slot 0 of player with 1 of black glass named "Pusto" to close
        format slot 1 of player with 1 of black glass named "Pusto" to close
        format slot 2 of player with 1 of black glass named "Pusto" to close
        format slot 3 of player with 1 of black glass named "Pusto" to close
        format slot 4 of player with 1 of black glass named "Pusto" to close
        format slot 5 of player with 1 of black glass named "Pusto" to close
        format slot 6 of player with 1 of black glass named "Pusto" to close
        format slot 7 of player with 1 of black glass named "Pusto" to close
        format slot 8 of player with 1 of black glass named "Pusto" to close
        format slot 9 of player with 1 of black glass named "Pusto" to close
        format slot 10 of player with 1 of diamond named "&9Diament" with lore "&b12 procent" to close
        format slot 11 of player with 1 of iron ingot named "&7Zelazo" with lore "&b14 procent" to close
        format slot 12 of player with 1 of gold ingot named "&eZloto" with lore "&b13 procent" to close
        format slot 13 of player with 1 of emerald named "&aEmerald" with lore "&b12 procent" to close
        format slot 14 of player with 1 of coal named "&8Wegiel" with lore "&b15 procent" to close
        format slot 15 of player with 1 of redstone named "&cRedstone" with lore "&b15 procent" to close
        format slot 16 of player with 1 of obsidian named "&9Obsydian" with lore "&b10 procent" to close
        format slot 17 of player with 1 of black glass to close
        format slot 18 of player with 1 of black glass to close
        format slot 19 of player with 1 of black glass to close
        format slot 20 of player with 1 of black glass to close
        format slot 21 of player with 1 of black glass to close
        format slot 22 of player with 1 of black glass to close
        format slot 23 of player with 1 of black glass to close
        format slot 24 of player with 1 of black glass to close
        format slot 25 of player with 1 of black glass to close
        format slot 26 of player with 1 of black glass to close


Po naciśnięciu "/drop"
Przedmioty z okna "drop"
przenoszą mi się do eq
Co zrobić aby się wyświetlało normalnie w GUI?
Daje + i naj

Odnośnik do komentarza
Udostępnij na innych stronach

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
3 godziny temu, Romek123 napisał:

Zamiast 


 to close then run "sudo %player% drop"

 uzyj

Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść! Ukryj zawartość
Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść! Ukryj zawartość

to close then run [execute player command "/drop"]

 

 

Nie działa?

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...