Skocz do zawartości
  • 0

Komenda


ejer

Pytanie

Z Tego Co Jest Napisane Wynika Że Tu Jest 10 Błędów:

command /tnt [<text>]
    trigger:
        if arg 1 is "wlacz":
            set {timetnt} to true
        else:
            send "&cPoprawne Użycie: &2/tnt wlacz/wylacz"
        if arg 1 is "wylacz":
            set {timetnt} to false
        else:
            send "&cPoprawne Użycie: &2/tnt wlacz/wylacz"

Proszę O Pomoc :>

Edytowane przez ejer
Odnośnik do komentarza
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Error Tak Długi Że Musiałem Skopiować Z Konsoli:

 
Spoiler

 

[Skript] Reloading tnt.sk...
indentation error: expected 0 tabs, but found 4 spaces (tnt.sk, line 2: trigger:')
indentation error: expected 0 tabs, but found 8 spaces (tnt.sk, line 3: if arg 1 is "wlacz":')
indentation error: expected 0 tabs, but found 12 spaces (tnt.sk, line 4: set {timetnt} to true')
indentation error: expected 0 tabs, but found 8 spaces (tnt.sk, line 5: else:')
indentation error: expected 0 tabs, but found 12 spaces (tnt.sk, line 6: send "&cPoprawne Użycie: &2/tnt wlacz/wylacz"')
indentation error: expected 0 tabs, but found 8 spaces (tnt.sk, line 7: if arg 1 is "wylacz":')
indentation error: expected 0 tabs, but found 12 spaces (tnt.sk, line 8: set {timetnt} to false')
indentation error: expected 0 tabs, but found 8 spaces (tnt.sk, line 9: else:')
indentation error: expected 0 tabs, but found 12 spaces (tnt.sk, line 10: send "&cPoprawne Użycie: &2/tnt wlacz/wylacz"')
invalid line - all code has to be put into triggers (tnt.sk, line 1: command /tnt [<text>]')
[Skript] Encountered 10 errors while reloading tnt.sk!

 

 
 
Odnośnik do komentarza
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ę...