Skocz do zawartości
  • 0
TermitCG

Ktoś Poprawi?

Pytanie

Użytkownik

Witam.

Mam mały problem z moim kodem. Są w nim błędy i nie działa poprawnie.

KOD:

BŁĘDY:

Większość błędów odnosi się do formatowania w skrypcie.

Kod jest niezoptymalizowany, to wstępna wersja.

Edytowane przez TermitCG
TakiJakTy

Temat został zamknięty ponieważ autor go nie porusza od dłuższego czasu.

Notatka dodana przez TakiJakTy

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Użytkownik
  • 0

@Helios1993

Mam takie błędy:

Spoiler

[18:04:31 INFO]: [Skript] Reloading lobby.sk...
[18:04:31 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (lobby.sk, line 198: clear player's inventory')
[18:04:31 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (lobby.sk, line 199: set slot 4 of player's inventory to compass named "%{@trybseln}%"')
[18:04:31 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (lobby.sk, line 200: set {inlobby.%player%} to true')
[18:04:31 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (lobby.sk, line 201: wait 1 second')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 23: set {precent.%player%} to 100')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 25: display "{@boss1}" on bossbar with {precent.%player%} percent by 0.05 seconds for player')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 26: remove 1 from {precent.%player%}')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 27: set {precent.%player%} to 100')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 29: display "{@boss2}" on bossbar with {precent.%player%} percent by 0.05 seconds for player')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 30: remove 1 from {precent.%player%}')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 31: set {precent.%player%} to 100')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 33: display "{@boss3}" on bossbar with {precent.%player%} percent by 0.05 seconds for player')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 34: remove 1 from {precent.%player%}')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 35: set {precent.%player%} to 100')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 37: display "{@boss4}" on bossbar with {precent.%player%} percent by 0.05 seconds for player')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 38: remove 1 from {precent.%player%}')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 39: set {precent.%player%} to 100')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 41: display "{@boss5}" on bossbar with {precent.%player%} percent by 0.05 seconds for player')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 42: remove 1 from {precent.%player%}')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 43: set {precent.%player%} to 100')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 45: display "{@boss6}" on bossbar with {precent.%player%} percent by 0.05 seconds for player')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 46: remove 1 from {precent.%player%}')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 47: set {precent.%player%} to 100')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 49: display "{@boss7}" on bossbar with {precent.%player%} percent by 0.05 seconds for player')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 50: remove 1 from {precent.%player%}')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 51: set {precent.%player%} to 100')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 53: display "{@boss8}" on bossbar with {precent.%player%} percent by 0.05 seconds for player')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 54: remove 1 from {precent.%player%}')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 55: set {precent.%player%} to 100')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 57: display "{@boss9}" on bossbar with {precent.%player%} percent by 0.05 seconds for player')
[18:04:31 ERROR]: There's no player in a periodical event (lobby.sk, line 58: remove 1 from {precent.%player%}')
[18:04:31 ERROR]: 'if {inlobby.%player%}' is not an entity type (lobby.sk, line 197: if {inlobby.%player%} is false')
[18:04:31 INFO]: [Skript] Encountered 32 errors while reloading lobby.sk!
>

 

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Losowy awatar
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.

  • Przeglądający   0 użytkowników

    Brak zarejestrowanych użytkowników przeglądających tę stronę.

×