Skocz do zawartości
  • 0

Bossbar problem


kondziu156

Pytanie

Mam taki kod:

 

every 120 ticks:	create timed boss bar with text "&a&lWitaj na " to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O&cN" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &f&lRAINBOW PRISON" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O&cN" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &f&lRAINBOW PRISON" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O&cN" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &f&lRAINBOW PRISON" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O&cN" to all players for 5 ticks	wait 5 ticks 	create timed boss bar with text "&a&lWitaj na &f&lRAINBOW PRISON" to all players for 5 ticks 

 

Wywala mi takie błędy:

[22:02:31 INFO]: [Skript] Reloading menu.sk...[22:02:32 ERROR]: 'bar with text "&a&lWitaj na " to all players for 5 ticks' is not an entity type (menu.sk, line 2: create timed boss bar with text "&a&lWitaj na " to all players for 5 ticks')[22:02:32 ERROR]: 'bar with text "&a&lWitaj na &4R" to all players for 5 ticks' is not an entity type (menu.sk, line 4: create timed boss bar with text "&a&lWitaj na &4R" to all players for 5 ticks')[22:02:32 ERROR]: 'bar with text "&a&lWitaj na &4R&cA" to all players for 5 ticks' is not an entity type (menu.sk, line 6: create timed boss bar with text "&a&lWitaj na &4R&cA" to all players for 5 ticks')[22:02:33 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I" to all players for 5 ticks' is not an entity type (menu.sk, line 8: create timed boss bar with text "&a&lWitaj na &4R&cA&6I" to all players for 5 ticks')[22:02:33 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN" to all players for 5 ticks' is not an entity type (menu.sk, line 10: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN" to all players for 5 ticks')[22:02:33 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN&aB" to all players for 5 ticks' is not an entity type (menu.sk, line 12: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB" to all players for 5 ticks')[22:02:34 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O" to all players for 5 ticks' is not an entity type (menu.sk, line 14: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O" to all players for 5 ticks')[22:02:34 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W" to all players for 5 ticks' is not an entity type (menu.sk, line 16: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W" to all players for 5 ticks')[22:02:34 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P" to all players for 5 ticks' is not anentity type (menu.sk, line 18: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P" to all players for 5 ticks')[22:02:34 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R" to all players for 5 ticks' is notan entity type (menu.sk, line 20: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R" to all players for 5 ticks')[22:02:35 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I" to all players for 5 ticks' is not an entity type (menu.sk, line 22: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I" to all players for 5 ticks')[22:02:35 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&" to all players for 5 ticks'is not an entity type (menu.sk, line 24: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&" to all players for 5 ticks')[22:02:35 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O" to all players for 5 ticks' is not an entity type (menu.sk, line 26: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O" to all players for 5 ticks')[22:02:36 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O&cN" to all players for 5 ticks' is not an entity type (menu.sk, line 28: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O&cN" to all players for 5 ticks')[22:02:36 ERROR]: 'bar with text "&a&lWitaj na &f&lRAINBOW PRISON" to all players for 5 ticks' is not an entity type (menu.sk, line 30: create timed boss bar with text "&a&lWitaj na &f&lRAINBOW PRISON" to all players for 5 ticks')[22:02:36 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O&cN" to all players for 5 ticks' is not an entity type (menu.sk, line 32: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O&cN" to all players for 5 ticks')[22:02:36 ERROR]: 'bar with text "&a&lWitaj na &f&lRAINBOW PRISON" to all players for 5 ticks' is not an entity type (menu.sk, line 34: create timed boss bar with text "&a&lWitaj na &f&lRAINBOW PRISON" to all players for 5 ticks')[22:02:37 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O&cN" to all players for 5 ticks' is not an entity type (menu.sk, line 36: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O&cN" to all players for 5 ticks')[22:02:37 ERROR]: 'bar with text "&a&lWitaj na &f&lRAINBOW PRISON" to all players for 5 ticks' is not an entity type (menu.sk, line 38: create timed boss bar with text "&a&lWitaj na &f&lRAINBOW PRISON" to all players for 5 ticks')[22:02:37 ERROR]: 'bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O&cN" to all players for 5 ticks' is not an entity type (menu.sk, line 40: create timed boss bar with text "&a&lWitaj na &4R&cA&6I&eN&aB&2O&9W P&1R&5I&dS&4O&cN" to all players for 5 ticks')[22:02:37 ERROR]: 'bar with text "&a&lWitaj na &f&lRAINBOW PRISON" to all players for 5 ticks' is not an entity type (menu.sk, line 42: create timed boss bar with text "&a&lWitaj na &f&lRAINBOW PRISON" to all players for 5 ticks')[22:02:37 INFO]: [Skript] Encountered 21 errors while reloading menu.sk! 

 

Nie ma co tłumaczyć ;)

PS. Jeżeli ktoś mógłby przy okazji skrócić kod to z góry dzięki ;)

 

Mam BossbarSK i BarAPI

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

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Zamiast to all...

Dajesz loop all player:

Send "lol" to loop-player

To samo

 

@EDIT

okey mam przyczyne:

"timed" boss bar może min. znikać po sekundzie dlatego zrobiłem tak (zmieniłem też tekst):

 

every 40 ticks:	loop all players:		set boss bar of loop-player to " &aâ–º &lWITAJ NA &f&lR&f&la&f&li&f&ln&f&lb&f&lo&f&lw&f&lM&f&lC"		wait 3 ticks		set boss bar of loop-player to " &aâ–º &lWITAJ NA &4&lR&f&la&f&li&f&ln&f&lb&f&lo&f&lw&f&lM&f&lC"		wait 3 ticks		set boss bar of loop-player to " &aâ–º &lWITAJ NA &4&lR&c&la&f&li&f&ln&f&lb&f&lo&f&lw&f&lM&f&lC"		wait 3 ticks		set boss bar of loop-player to " &aâ–º &lWITAJ NA &4&lR&c&la&a&li&f&ln&f&lb&f&lo&f&lw&f&lM&f&lC"		wait 3 ticks		set boss bar of loop-player to " &aâ–º &lWITAJ NA &4&lR&c&la&a&li&6&ln&e&lb&f&lo&f&lw&f&lM&f&lC"		wait 3 ticks		set boss bar of loop-player to " &aâ–º &lWITAJ NA &4&lR&c&la&a&li&6&ln&e&lb&a&lo&f&lw&f&lM&f&lC"		wait 3 ticks		set boss bar of loop-player to " &aâ–º &lWITAJ NA &4&lR&c&la&a&li&6&ln&e&lb&a&lo&2&lw&f&lM&f&lC"		wait 3 ticks		set boss bar of loop-player to " &aâ–º &lWITAJ NA &4&lR&c&la&6&li&6&ln&e&lb&a&lo&2&lw&5&lM&f&lC"		wait 3 ticks		set boss bar of loop-player to " &aâ–º &lWITAJ NA &4&lR&c&la&6&li&6&ln&e&lb&a&lo&2&lw&5&lM&5&lC"		
Edytowane przez kondziu156
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ę...