Skocz do zawartości
  • 0

robie skrypt i mam blad


Pytanie

command /superapple:
    permission: super.apple
    cooldown: 1 second
    trigger:
    	give golden apple named "Super Apple" to player
    	

On Consume golden apple:
    if player's tool is golden apple named "Super Apple":
    	cure the player from poison
    	apply swiftness 2 to the player
    	apply levitation 2 to the player
    	strike lightning at the player
    	strike lightning at the player
    	strike lightning at the player
    	strike lightning at the player
    	strike lightning at the player
    	

oto skrypt i wyrzuca mi błędy

Odnośnik do komentarza
https://skript.pl/temat/48701-robie-skrypt-i-mam-blad/
Udostępnij na innych stronach

7 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
3 minuty temu, 02player napisał:

command /superapple:
    permission: super.apple
    cooldown: 1 second
    trigger:
    	give golden apple named "Super Apple" to player
    	

On Consume golden apple:
    if player's tool is golden apple named "Super Apple":
    	cure the player from poison
    	apply swiftness 2 to the player
    	apply levitation 2 to the player
    	strike lightning at the player
    	strike lightning at the player
    	strike lightning at the player
    	strike lightning at the player
    	strike lightning at the player
    	

oto skrypt i wyrzuca mi błędy

Mógłbyś mi je podać? Magikiem nie jestem -_-

Odnośnik do komentarza
https://skript.pl/temat/48701-robie-skrypt-i-mam-blad/#findComment-303479
Udostępnij na innych stronach

  • 0
7 minut temu, 02player napisał:

command /superapple:
    permission: super.apple
    cooldown: 1 second
    trigger:
    	give golden apple named "Super Apple" to player
    	

On Consume golden apple:
    if player's tool is golden apple named "Super Apple":
    	cure the player from poison
    	apply swiftness 2 to the player
    	apply levitation 2 to the player
    	strike lightning at the player
    	strike lightning at the player
    	strike lightning at the player
    	strike lightning at the player
    	strike lightning at the player
    	

oto skrypt i wyrzuca mi błędy

Daj logi czy coś tam z błędami 

Odnośnik do komentarza
https://skript.pl/temat/48701-robie-skrypt-i-mam-blad/#findComment-303480
Udostępnij na innych stronach

  • 0

proszę

 

[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 5: give golden apple named "Super Apple" to player')
[10:27:27 WARN]: 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. (FunnyApples-en.sk, line 4: trigger:')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 10: cure the player from poison')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 11: apply swiftness 2 to the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 12: apply levitation 2 to the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 13: strike lightning at the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 14: strike lightning at the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 15: strike lightning at the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 16: strike lightning at the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 17: strike lightning at the player')

 

Glicz

Wstawiam błędy w code.

Notatka dodana przez Glicz

Odnośnik do komentarza
https://skript.pl/temat/48701-robie-skrypt-i-mam-blad/#findComment-303481
Udostępnij na innych stronach

  • 0
2 minuty temu, 02player napisał:

proszę

 

[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 5: give golden apple named "Super Apple" to player')
[10:27:27 WARN]: 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. (FunnyApples-en.sk, line 4: trigger:')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 10: cure the player from poison')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 11: apply swiftness 2 to the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 12: apply levitation 2 to the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 13: strike lightning at the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 14: strike lightning at the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 15: strike lightning at the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 16: strike lightning at the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 17: strike lightning at the player')

Może byś dał 8 spacji w 10, 11, 12, 13, 13, 15, 16, 17 linicje a nie jeden TAB i spacje?

Odnośnik do komentarza
https://skript.pl/temat/48701-robie-skrypt-i-mam-blad/#findComment-303482
Udostępnij na innych stronach

  • 0
3 minuty temu, 02player napisał:

proszę

 


[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 5: give golden apple named "Super Apple" to player')
[10:27:27 WARN]: 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. (FunnyApples-en.sk, line 4: trigger:')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 10: cure the player from poison')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 11: apply swiftness 2 to the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 12: apply levitation 2 to the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 13: strike lightning at the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 14: strike lightning at the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 15: strike lightning at the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 16: strike lightning at the player')
[10:27:27 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (FunnyApples-en.sk, line 17: strike lightning at the player')

 

Skrypt jest źle wytabowany :/. Wytabuj go poprawnie

Odnośnik do komentarza
https://skript.pl/temat/48701-robie-skrypt-i-mam-blad/#findComment-303483
Udostępnij na innych stronach

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