Skocz do zawartości
  • 0

komenda /saveeq


rizerpvp.pl

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
		options:

	world: NAZWA_SWIATA

command /saveEQ:
	trigger:
		world of player is "{@world}":
			loop 36 times:
				set {slot::%loop-integer%::%player%} to slot loop-integer of player's inventory
			send "&8» &6Pomyslnie zapisano ekwipunek." to the player
			set {receiveEQ::%player%} to true
			stop
command /receiveEQ:
	trigger:
		world of player is "{@world}":
			if {receiveEQ::%player%} is true:
				loop 36 times:
					set slot loop-integer of player's inventory to {slot::%loop-integer%::%player%}
					clear {slot::%loop-integer%::%player%}
					set {receiveEQ::%player%} to false
				send "&8» &6Pomyslnie &aodebrano &6ekwipunek" to the player
			else:
				send "&4Niestety! &cNie zapisano twojego ekwipunku. &8(&club juz go odbierales&8)" to the player
		

 

Edytowane przez esej
Edytowano kod. v.2
Odnośnik do komentarza
https://skript.pl/temat/19986-komenda-saveeq/#findComment-135758
Udostępnij na innych stronach

  • 0

tylko ze to dziala na wszystkich swiatach

 

a nie sorry juz widze

 

Spoiler

[20:41:12 ERROR]: There's no loop that matches 'loop-integer' (saveeq.sk, line 15: if {slot::%loop-integer%::%player%} is set:')
[20:41:12 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (saveeq.sk, line 20: else:')

STOP SPAM ~Dragon

Odnośnik do komentarza
https://skript.pl/temat/19986-komenda-saveeq/#findComment-135759
Udostępnij na innych stronach

  • 0

loop-integer zamień na loop-number

 

Linijka druga wynika z faktu, że źle wytabowałeś.

Polecam temat:

 

 

Edytowane przez PoweredDragon
Odnośnik do komentarza
https://skript.pl/temat/19986-komenda-saveeq/#findComment-135869
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ę...