Skocz do zawartości
  • 0

Wyrzucenie zbroji gracza


Pytanie

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
if {diaxSETY} is "&cWylaczone":
	if legging of player is diamond leggings:
		set {_l} to legging of player
		clear legging of player
		drop {_l} at player
	if chestplate of player is diamond chestplate:
		set {_l} to chestplate of player
		clear chestplate of player
		drop {_l} at player
	if boot of player is diamond boots:
		set {_l} to boot of player
		clear boot of player
		drop {_l} at player
	if helmet of player is diamond helmet:
		set {_l} to helmet of player
		clear helmet of player
		drop {_l} at player

 

Edytowane przez PanMaruda
Odnośnik do komentarza
https://skript.pl/temat/37029-wyrzucenie-zbroji-gracza/#findComment-235953
Udostępnij na innych stronach

  • 0
3 godziny temu, PanMaruda napisał:

if {diaxSETY} is "&cWylaczone":
	if legging of player is diamond leggings:
		set {_l} to legging of player
		clear legging of player
		drop {_l} at player
	if chestplate of player is diamond chestplate:
		set {_l} to chestplate of player
		clear chestplate of player
		drop {_l} at player
	if boot of player is diamond boots:
		set {_l} to boot of player
		clear boot of player
		drop {_l} at player
	if helmet of player is diamond helmet:
		set {_l} to helmet of player
		clear helmet of player
		drop {_l} at player

 

Do tego trzeba dodać jakis poczatek np.

every 10 second, zrobilem tak

Spoiler

every 10 second:
	if {diaxSETY} is "&cWylaczone":
		if leggings of player is diamond leggings:
			set {_l} to leggings of player
			clear leggings of player
			drop {_l} at player
		if chestplate of player is diamond chestplate:
			set {_l} to chestplate of player
			clear chestplate of player
			drop {_l} at player
		if boots of player is diamond boots:
			set {_l} to boots of player
			clear boots of player
			drop {_l} at player
		if helmet of player is diamond helmet:
			set {_l} to helmet of player
			clear helmet of player
			drop {_l} at player

 

ale:

[18:50:41 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (4.sk, line 106: if leggings of player is diamond leggings:')
[18:50:41 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (4.sk, line 110: if chestplate of player is diamond chestplate:')
[18:50:41 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (4.sk, line 114: if boots of player is diamond boots:')
[18:50:41 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (4.sk, line 118: if helmet of player is diamond helmet:')

mozesz mi to zrobic?

Odnośnik do komentarza
https://skript.pl/temat/37029-wyrzucenie-zbroji-gracza/#findComment-235984
Udostępnij na innych stronach

  • 0

Skąd ma ci skrypt wytrzasnąć gracza w wydarzeniu cyklicznym, skoro ono GO NIE ZAWIERA? Wybierz sobie takie, z którego można pobrać gracza, albo zapętlij wszystkich graczy i operuj na graczu z pętli.

Odnośnik do komentarza
https://skript.pl/temat/37029-wyrzucenie-zbroji-gracza/#findComment-235987
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ę...