Skocz do zawartości
  • 0

Grupowe tp


ManiakTeam1339
 Udostępnij

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
options:
	world: world # Ustaw tu owiat
	x-max: 2500 # Maxymalne kordy x
	x-min: -2500 # Minimalne kordy x
	z-max: 2500 # Maxymlane kordy z
	z-min: -2500 # Minimalne kordy z
on rightclick on button:
	if block behind target block is note block:
		set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
		while block under {_loc} is air or lava:
			remove 1 from y-coords of {_loc}
			block under {_loc} is lava:
				set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
		loop players in radius 4 around block behind block:
			teleport loop-player to {_loc}
		teleport player to {_loc}

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
8 minut temu, xAxee napisał:
options:
	world: world # Ustaw tu owiat
	x-max: 2500 # Maxymalne kordy x
	x-min: -2500 # Minimalne kordy x
	z-max: 2500 # Maxymlane kordy z
	z-min: -2500 # Minimalne kordy z
on rightclick on button:
	if block behind target block is note block:
		set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
		while block under {_loc} is air or lava:
			remove 1 from y-coords of {_loc}
			block under {_loc} is lava:
				set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
		loop players in radius 4 around block behind block:
			teleport loop-player to {_loc}
		teleport player to {_loc}

 

A nie możesz dodac jak gracza nie ma w pobliżu i kliknie przycisk to go nie tepa ?

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...