Skocz do zawartości
  • 0

Problem z gui/menu.


ArcziPlay
 Udostępnij

Pytanie

Witam. Mam problem z stworzeniem komendy /ulepszenia.                                            Errory z konsoli: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!

To jest kod:

command /ulepszenia:
    trigger:
        open chest with 6 rows named "Ulepszenia" to player
        wait 2 ticks
        format slot 1 of player with 1 of stained glass pane:8 named ""
        format slot 2 of player with 1 of stained glass pane:8 named ""
        format slot 3 of player with 1 of stained glass pane:8 named ""
        format slot 4 of player with 1 of stained glass pane:8 named ""
        format slot 5 of player with 1 of stained glass pane:8 named ""
        format slot 6 of player with 1 of stained glass pane:8 named ""
        format slot 7 of player with 1 of stained glass pane:8 named ""
        format slot 8 of player with 1 of stained glass pane:8 named ""
        format slot 9 of player with 1 of stained glass pane:8 named ""
        format slot 10 of player with 1 of stained glass pane:8 named ""
        format slot 11 of player with 1 of stained glass pane:8 named ""
        format slot 12 of player with 1 of stained glass pane:8 named ""
        format slot 13 of player with 1 of stained glass pane:8 named ""
        format slot 14 of player with 1 of stained glass pane:8 named ""
        format slot 15 of player with 1 of stained glass pane:8 named ""
        format slot 16 of player with 1 of stained glass pane:8 named ""
        format slot 17 of player with 1 of stained glass pane:8 named ""
        format slot 18 of player with 1 of stained glass pane:8 named ""
        format slot 19 of player with 1 of stained glass pane:8 named ""
        format slot 20 of player with 1 of stained glass pane:8 named ""
        format slot 21 of player with 1 of stained glass pane:8 named ""
        format slot 22 of player with 1 of stained glass pane:8 named ""
        format slot 23 of player with 1 of stained glass pane:8 named ""
        format slot 24 of player with 1 of stained glass pane:8 named ""
        format slot 25 of player with 1 of stained glass pane:8 named ""
        format slot 26 of player with 1 of stained glass pane:8 named ""
        format slot 27 of player with 1 of stained glass pane:8 named ""
        format slot 28 of player with 1 of stained glass pane:8 named ""
        format slot 29 of player with 1 of stained glass pane:8 named ""
        format slot 30 of player with 1 of stained glass pane:8 named ""
        format slot 31 of player with 1 of stained glass pane:8 named ""
        format slot 32 of player with 1 of stained glass pane:8 named ""
        format slot 33 of player with 1 of stained glass pane:8 named ""
        format slot 34 of player with 1 of stained glass pane:8 named ""
        format slot 35 of player with 1 of stained glass pane:8 named ""
        format slot 36 of player with 1 of stained glass pane:8 named ""
        format slot 37 of player with 1 of stained glass pane:8 named ""
        format slot 38 of player with 1 of stained glass pane:8 named ""
        format slot 39 of player with 1 of stained glass pane:8 named ""
        format slot 40 of player with 1 of stained glass pane:8 named ""
        format slot 41 of player with 1 of stained glass pane:8 named ""
        format slot 42 of player with 1 of stained glass pane:8 named ""
        format slot 43 of player with 1 of stained glass pane:8 named ""
        format slot 44 of player with 1 of stained glass pane:8 named ""
        format slot 45 of player with 1 of stained glass pane:8 named ""
        format slot 46 of player with 1 of stained glass pane:8 named ""
        format slot 47 of player with 1 of stained glass pane:8 named ""
        format slot 48 of player with 1 of stained glass pane:8 named ""
        format slot 49 of player with 1 of stained glass pane:8 named ""
        format slot 50 of player with 1 of stained glass pane:8 named ""

Odnośnik do komentarza
Udostępnij na innych stronach

17 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
1 minutę temu, ArcziPlay napisał:

W sęsie że dodać kwadratowe nawiasy?

nie, chodzi o "with" przy "named" mi czasami tak pokazuje chociaz mam w zupelnie innym miejscu blad :P i zmien kazda liczbe slotu o jeden mniej, czyli jak masz 1 to zmien na 0 rozumiesz ;)

 

 

Edytowane przez Damian Kędra
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Kod:

format slot [Numer slotu] of [Gracz] with [Ilosc itemu] of [Item] to [Akcja]

Opis:

  • [Numer slotu] - Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść! w którym ma się pojawić item.
  • [Gracz] - osoba, której ma wyświetlić item w inventory
  • [ilosc itemu] - ilośc itemu.
  • [item] - nazwa lub ID itemu.
  • [Akcja] - są cztery możliwe 'akcje':
  1. be unstealable - bie da się zabrać itemu z menu.
  2. run "[Komenda]" - wykonuje komendę po kliknięciu. Też nie da się zabrać itemu z menu. WAŻNE! Komenda jest wykonywana przez konsole.
  3. close - zamyka menu.
  4. close then run "[Komenda]" - zamyka menu, wykonuje komendę WAŻNE! Komenda jest wykonywana przez konsole.
  5. run Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!

 

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ę...