Skocz do zawartości
  • 0

Problem z skryptem


dziwakkolega

Pytanie

Mam problem z skryptem na chat a dokładniej chyba z tęczowym nickiem z tego co wyczytałem w warnach i errorach 

tutaj warny i errory 

Spoiler

[13:58:05 INFO]: [Skript] Reloading the config and all scripts...
[13:58:08 INFO]: Loaded 18237 aliases in 3133ms
[13:58:15 WARN]: the name of the player is already a text, so you should not put it in one (e.g. the name of the player instead of "%the name of the player%") (chat.sk, line 109: set {_n} to "%player's name%"')
[13:58:15 WARN]: the display name of the player is already a text, so you should not put it in one (e.g. the display name of the player instead of "%the display name of the player%") (chat.sk, line 121: set {_d} to "%player's display name%"')
[13:58:15 WARN]: the name of the player is already a text, so you should not put it in one (e.g. the name of the player instead of "%the name of the player%") (chat.sk, line 122: replace all "%player's name%" with {_s} in {_d}')
[13:58:15 ERROR]: Can't compare an entity with a visual effect (chat.sk, line 180: if attacker is a slime:')
[13:58:16 INFO]: Loaded 12 scripts with a total of 33 triggers and 29 commands in 7.73 seconds
[13:58:16 INFO]: [Skript] Encountered 1 error while reloading the config and all scripts!

tutaj skrypt 

Jak by ktoś mógł pomóc będę wdzięczny 

Odnośnik do komentarza
https://skript.pl/temat/40015-problem-z-skryptem/
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Błędem jest tylko to:

[13:58:15 ERROR]: Can't compare an entity with a visual effect (chat.sk, line 180: if attacker is a slime:')

Te inne to ostrzeżenia, które teorytycznie możesz zignorować. Z tego co znazałem w internecie musisz użyć slimes zamiast slime.
Zamień to:
 

if attacker is a slime:

na to

if attacker is slimes:
// Lub na
if attacker is a slimes:

 

Odnośnik do komentarza
https://skript.pl/temat/40015-problem-z-skryptem/#findComment-250395
Udostępnij na innych stronach

  • 0
7 godzin temu, Grex napisał:

Błędem jest tylko to:


[13:58:15 ERROR]: Can't compare an entity with a visual effect (chat.sk, line 180: if attacker is a slime:')

Te inne to ostrzeżenia, które teorytycznie możesz zignorować. Z tego co znazałem w internecie musisz użyć slimes zamiast slime.
Zamień to:
 


if attacker is a slime:

na to


if attacker is slimes:
// Lub na
if attacker is a slimes:

 

Dzięki :D

 

Odnośnik do komentarza
https://skript.pl/temat/40015-problem-z-skryptem/#findComment-250463
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ę...