Skocz do zawartości
  • 0

Co jest nie tak?


Konto_op
 Udostępnij

Pytanie

15 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Teraz, Konto_op napisał:

Dzień Dobry, robię skrypt bo chce mieć troche lepsze kick oraz autorskie i skript we wszystkim mówi mi żebym dał 0 tabów. Pomocy

"found" oznacza to, co Skript znalazł, "expected" oznacza co według Skripta tam powinno być.

Jeżeli nadal nie wiesz co z tym zrobić, pokaż treść błędu.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
4 minuty temu, Kormic napisał:

"found" oznacza to, co Skript znalazł, "expected" oznacza co według Skripta tam powinno być.

Jeżeli nadal nie wiesz co z tym zrobić, pokaż treść błędu.

Spoiler

 

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 1 tab (kick.sk, line 2: trigger:')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 2 tabs (kick.sk, line 3: permission: administracja.admin')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found '____->' [-> = tab, _ = space, ? = other whitespace] (kick.sk, line 4: permission message: &c&lNie posiadasz permisji!')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 2 tabs (kick.sk, line 5: if arg-2 is not set:')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 3 tabs (kick.sk, line 6: send "&c&lPodaj powód kicka!"')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 2 tabs (kick.sk, line 7: if arg-1 is not set:')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 3 tabs (kick.sk, line 8: send "&c&lPodaj gracza którego chcesz wyrzucić!"')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 2 tabs (kick.sk, line 9: if arg-1 is not set:')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 3 tabs (kick.sk, line 10: if arg-2 is not set:')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 4 tabs (kick.sk, line 11: send "&c&lPodaj Gracza oraz Powod!"')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 2 tabs (kick.sk, line 12: if arg-2 is not set:')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 3 tabs (kick.sk, line 13: if arg-1 is not set:')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 4 tabs (kick.sk, line 14: send "&c&lPodaj Gracza oraz Powod!"')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 2 tabs (kick.sk, line 15: if arg-1 is online:')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 3 tabs (kick.sk, line 16: if arg 2 is set:')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 4 tabs (kick.sk, line 17: kick arg-1 due to arg-2')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 4 tabs (kick.sk, line 18: send "&a&lPomyslnie wyrzucono gracza."')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 2 tabs (kick.sk, line 19: if arg-1 is "Maciejlollol":')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 3 tabs (kick.sk, line 20: send "&c&lOjojoj, Tego gracza to nie wyrzucisz!"')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 3 tabs (kick.sk, line 21: send "%player% Chcial cie wyrzucic!" to Maciejlollol')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 2 tabs (kick.sk, line 22: else:')

[15:24:39] [Server thread/ERROR]: indentation error: expected 0 tabs, but found 3 tabs (kick.sk, line 23: send "%player% nie jest online!"')

[15:24:39] [Server thread/ERROR]: invalid line - all code has to be put into triggers (kick.sk, line 1: command /kick <player> <text>')

 

 

Edytowane przez xNightPower_
Nieaktywny

Logi umieszczam w spoilerze.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Nalezaloby aby trigger stalo jako ostatnie.

 

 

Server rowniez cie informuje o tym, ze musisz uzyc triggera:
[15:24:39] [Server thread/ERROR]: invalid line - all code has to be put into triggers (kick.sk, line 1: command /kick <player> <text>')

Nieaktywny

Naprawiam formatowanie na ciemnym stylu, łączę posty.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
Teraz, Konto_op napisał:

nad triggerem w wielu skryptach próbowałem, lecz gadało wtedy, że triggera brakuje xD spróbuje szybko zaktualizować skripta, może to pomoże z triggerem.

To nie z tego problem wynika. Zapomniałeś po prostu dwukropka na końcu pierwszej linijki.

Edytowane przez Kormic
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ę...