Skocz do zawartości
  • 0

There's no loop that matches


Pytanie

Wyskakuje błąd taki jak w tytule "There's no loop that matches..." w linijce takiej jak

clear inventory of loop-player
give loop-player compass named "&e&lKompas" with lore "&fTo ja wskaze Ci droge!" to loop-player

albo "Can't understand this conditon/effect..."

loop all players in world "{@map}"

 

Odnośnik do komentarza
https://skript.pl/temat/26437-theres-no-loop-that-matches/
Udostępnij na innych stronach

12 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Wyskakuje błąd taki jak w tytule "There's no loop that matches..." w linijce takiej jak
clear inventory of loop-playergive loop-player compass named "&e&lKompas" with lore "&fTo ja wskaze Ci droge!" to loop-player

 



Daj takie coś:
clear loop-player inventoryAdd compass named "&e&lKompas" with lore "&fTo ja wskaże ci drogę!" to loop-player’s inventory



A na to drugie daj cały kod


Wysłane z iPad za pomocą Tapatalk

Odnośnik do komentarza
https://skript.pl/temat/26437-theres-no-loop-that-matches/#findComment-174160
Udostępnij na innych stronach

  • 0
command /arenateleport:
	trigger:
		loop all players in world "{@map}":
			teleport loop-player to {br::arena::spawn}
			equip loop-player with Elytra
			give loop-player compass named "&e&lKompas" with lore "&fTo ja wskaze Ci droge!" to loop-player
			give loop-player firework 2 named "&e&lRakieta Napedzajaca" with lore "&fPrzyspiesza cie gdy lecisz!||&f &ePrawy przyciski myszki&f aby uzyc|| &cTylko podczas latania!" to loop-player

every 5 seconds:
	if {br::arena::playernum} is 1:
		if {br::arena::winmessage} is false:
			if {br::arena::mode} is 2:
				loop all players in world "{@map}"
				set {br::arena::winmessage} to true
				set {br::arena::god} to true
				clear inventory of loop-player
				broadcast "&aWygrales arene"
				play level_up at loop-player with pitch 1
				wait 5 seconds
				loop players:
					set {br::player::ingame::%loop-player-2%} to false
					set {br::arena::playernum} to 0
					set {br::arena::mode} to 0
					set {br::arena::god} to false
					set {br::arena::winmessage} to false
					send "Wykonane"

Tak samo nie wykonuje mi tego... (tak tu jes kopia tego z góry)


				loop players:
					set {br::player::ingame::%loop-player-2%} to false
					set {br::arena::playernum} to 0
					set {br::arena::mode} to 0
					set {br::arena::god} to false
					set {br::arena::winmessage} to false
					send "Wykonane"

@damixedixed nie działa...
@LloydPL moze być?

Edytowane przez hej0ss
Odnośnik do komentarza
https://skript.pl/temat/26437-theres-no-loop-that-matches/#findComment-174271
Udostępnij na innych stronach

  • 0
[14:57:18 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (skrypt.sk, line 201: loop players in world "{@map}":')
[14:57:19 ERROR]: [Skript] Can't understand this loop: 'loop players in world "world"' (skrypt.sk, line 161: loop players in world "{@map}":')
[14:57:19 ERROR]: [Skript] Can't understand this loop: 'loop all players in world "world"' (skrypt.sk, line 189: loop all players in world "{@map}":')
[14:57:19 ERROR]: [Skript] Can't understand this loop: 'loop players in world "world"' (skrypt.sk, line 201: loop players in world "{@map}":')
[14:57:19 ERROR]: [Skript] There's no loop that matches 'loop-player' (skrypt.sk, line 204: clear inventory of loop-player')
[14:57:19 ERROR]: [Skript] There's no loop that matches 'loop-player with pitch 1' (skrypt.sk, line 206: play level_up at loop-player with pitch 1')
[14:57:19 ERROR]: [Skript] There's no loop that matches 'loop-player' (skrypt.sk, line 209: set {br::player::ingame::%loop-player-2%} to false')

 

 

Edytowane przez hej0ss
Odnośnik do komentarza
https://skript.pl/temat/26437-theres-no-loop-that-matches/#findComment-174960
Udostępnij na innych stronach

  • 0

Dobra działa...
To teraz jak dać do loop-players itemki? Bo ten błąd nadal wystepuje :/
 

give loop-player compass named "&e&lKompas" with lore "&fTo ja wskaze Ci droge!" to loop-player

bo to nie działa.

[19:22:50 ERROR]: There's no loop that matches 'loop-player compass named "&e&lKompas" with lore "&fTo ja wskaze Ci droge!"' (skrypt.sk, line 194: give loop-player compass named "&e&lKompas" with lore "&fTo ja wskaze Ci droge!" to loop-player')

 

Odnośnik do komentarza
https://skript.pl/temat/26437-theres-no-loop-that-matches/#findComment-175195
Udostępnij na innych stronach

  • 0
give loop-player compass named "&e&lKompas" with lore "&fTo ja wskaze Ci droge!" to loop-player

W tłumaczeniu na polski:

daj wyłapanym graczom kompas nazwany "&e&lKompas" z opisem "&fTo ja wskaze Ci droge!" wyłapanym graczom

w tym pierwszym "loop-player" ma być ilość! Np. give 2 gold to loop-player. ;) 

Odnośnik do komentarza
https://skript.pl/temat/26437-theres-no-loop-that-matches/#findComment-175210
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ę...