Skocz do zawartości
  • 0

Liczenie terenu


WIZIBANG

Pytanie

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on leftclick with blaze rod:
	if player's tool's name is "&6Liczenie":
		cancel event
		set {p2::%player%} to location of event-block
on rightclick with blaze rod:
	if player's tool's name is "&6Liczenie":
		cancel event
		set {p::%player%} to location of event-block
command /ileto [<text>]:
	trigger:
		set {_a} to 0
		loop blocks within {p:2:%player%} and {p::%player%}:
			add 1 to {_a}
		send "&7Zaznaczyles: &a%{_a}% &7blokow"

 

Odnośnik do komentarza
https://skript.pl/temat/39741-liczenie-terenu/#findComment-249171
Udostępnij na innych stronach

  • 0
on break:
	player's tool is golden axe
	cancel event
	set {left::%player%} to location at event-block
	send formatted "<tooltip:%location at event-block%>&cPozycja 1 ustawiona"
on rightclick:
	player's tool is golden axe
	set {right::%player%} to location at event-block
	send formatted "<tooltip:%location at event-block%>&cPozycja 2 ustawiona"
command /licz [<text>]:
	trigger:
		{right::%player%} and {left::%player%} is set
		send "%amount of blocks within location at {right::%player%} and {left::%player%}%"

 

Edytowane przez Helios1993
Odnośnik do komentarza
https://skript.pl/temat/39741-liczenie-terenu/#findComment-249172
Udostępnij na innych stronach

  • 0
7 godzin temu, xAxee napisał:

on leftclick with blaze rod:
	if player's tool's name is "&6Liczenie":
		cancel event
		set {p2::%player%} to location of event-block
on rightclick with blaze rod:
	if player's tool's name is "&6Liczenie":
		cancel event
		set {p::%player%} to location of event-block
command /ileto [<text>]:
	trigger:
		set {_a} to 0
		loop blocks within {p:2:%player%} and {p::%player%}:
			add 1 to {_a}
		send "&7Zaznaczyles: &a%{_a}% &7blokow"

 

Nie działa ;( ciagle pisze 0

 

Edytowane przez WIZIBANG
Odnośnik do komentarza
https://skript.pl/temat/39741-liczenie-terenu/#findComment-249221
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ę...