Skocz do zawartości
  • 0

gui nie dziala


Gość Usunięty#47682

Pytanie

Gość Usunięty#47682

on inventory click:
    if name of event-inventory is "&7sklep":
        if clicked slot is 9:
            if {money::%player%} is higher than 17:
            remove 18 from {money::%player%}
            execute command "gamemode creative %player%"
            else
            if {money::%player%} is lower than 18:
                cancel event
                send "" to player

 

 

błąd


Line 65: (gui2.sk)
     Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section.
   Line: if {money::%player%} is higher than 17:
 
Line 68: (gui2.sk)
  Can't understand this condition/effect: else
 Line: else

 [Skript] Encountered 1 error while reloading gui2.sk! (9129ms)

Edytowane przez 6uzw
Odnośnik do komentarza
https://skript.pl/temat/55981-gui-nie-dziala/
Udostępnij na innych stronach

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Gość Usunięty#47682
18 godzin temu, Fendi napisał:

Bo żeś źle wytabowal, poza tym wklej to normalnie

błąd

 

 [Skript] Reloading gui2.sk...
 Line 65: (gui2.sk)
   Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section.
    Line: if {money::%player%} is higher than 17:

 Line 69: (gui2.sk)
    Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section.
    Line: if {money::%player%} is lower than 18:
  
Line 68: (gui2.sk)
    'else' has to be placed just after another 'if' or 'else if' section
     Line: else:
 [Skript] Encountered 1 error while reloading gui2.sk! (930ms)
 

Odnośnik do komentarza
https://skript.pl/temat/55981-gui-nie-dziala/#findComment-336266
Udostępnij na innych stronach

  • 0
Gość Usunięty#47682
41 minut temu, Fendi napisał:

pokaż twój aktualny kod

Tylko wklej to normalnie

image.png.b5fb970d54cc4a8a8979c10aa5cd9d20.pngtaki przycisk na kod jest

Cytat

on inventory click:
    if name of event-inventory is "&7sklep":
        if clicked slot is 9:
            if {money::%player%} is higher than 17:
            remove 18 from {money::%player%}
            execute command "gamemode creative %player%"
            else: 
                if {money::%player%} is lower than 18:
                cancel event
                send "" to player

 

Odnośnik do komentarza
https://skript.pl/temat/55981-gui-nie-dziala/#findComment-336270
Udostępnij na innych stronach

  • 0

pokazalem ci nawet ktory przycisk masz uzyc aby to wkleic a ty i tak klikasz co innego...

potem cos takiego sie dzieje gdy to kopiuje

image.png.cba03f7c60e7ef85f44c276bc9cdc539.png

Taby nie istnieja

on inventory click:
    if name of event-inventory is "&7sklep":
        if clicked slot is 9:
            if {money::%player%} is higher than 17:
                remove 18 from {money::%player%}
                set gamemode of player to creative
            else if {money::%player%} is lower than 18:
                cancel event
                send "" to player

Masz juz, wystarczylo 4 razy taba kliknac

Odnośnik do komentarza
https://skript.pl/temat/55981-gui-nie-dziala/#findComment-336271
Udostępnij na innych stronach

  • 0
Gość Usunięty#47682
1 godzinę temu, Fendi napisał:

pokazalem ci nawet ktory przycisk masz uzyc aby to wkleic a ty i tak klikasz co innego...

potem cos takiego sie dzieje gdy to kopiuje

image.png.cba03f7c60e7ef85f44c276bc9cdc539.png

Taby nie istnieja

on inventory click:
    if name of event-inventory is "&7sklep":
        if clicked slot is 9:
            if {money::%player%} is higher than 17:
                remove 18 from {money::%player%}
                set gamemode of player to creative
            else if {money::%player%} is lower than 18:
                cancel event
                send "" to player

Masz juz, wystarczylo 4 razy taba kliknac

dzięki do zamknięcia

Odnośnik do komentarza
https://skript.pl/temat/55981-gui-nie-dziala/#findComment-336280
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

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

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