Skocz do zawartości
  • 0

Problem z otwieraniem gui


Pytanie

Mam problem z skryptem. Otóż gdy nie działa w nim otwieranie gui. Oto jego fragment:

I gdy skrypt dochodzi do "[execute player command "/pogoda pora"] nic sie nie dzieje.

 

command /pogoda [<text>]:
    trigger:
        if arg 1 is not set:
            open chest with 1 rows named "&2&lUstawienia" to player
            wait 2 ticks
            format slot 0 of player with 1 of 160:15 named " " to be unstealable
            format slot 1 of player with 1 of 160:15 named " " to be unstealable
            format slot 2 of player with 1 of 160:15 named " " to be unstealable
            format slot 4 of player with 1 of 160:15 named " " to be unstealable
            format slot 6 of player with 1 of 160:15 named " " to be unstealable
            format slot 7 of player with 1 of 160:15 named " " to be unstealable
            format slot 8 of player with 1 of 160:15 named " " to be unstealable
            format slot 3 of player with 1 of 347 named "&3Ustawienia Pory Dnia" to close then run [execute player command "/pogoda pora"]
            format slot 5 of player with 1 of 370 named "&3Ustawienia Pogody" to close then run [execute player command "/pogodynka"]
        if arg 1 is "pora":
            open chest with 1 rows named "&3&lUstawienia Pory Dnia" to player
            wait 2 ticks
            format slot 0 of player with 1 of 160:15 named " " to be unstealable
            format slot 1 of player with 1 of 160:15 named " " to be unstealable
            format slot 7 of player with 1 of 160:15 named " " to be unstealable
            format slot 8 of player with 1 of 160:15 named " " to be unstealable

 

Edytowane przez DeltaT
Nieaktywny

Code

Odnośnik do komentarza
https://skript.pl/temat/29417-problem-z-otwieraniem-gui/
Udostępnij na innych stronach

0 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Nie udzielono jeszcze odpowiedzi na to pytanie

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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