Skocz do zawartości
  • 0

teleport na baze


SkrytyZiomus

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
5 godzin temu, SkrytyZiomus napisał:

Witam, psoiadam funny guilds i dodatek ten fg sk addon, chcialbym zeby podczas wpisywania /baza bylo na srodku ekranu ze teleport za: i odliczanie od 8 do 0.

Proszę.

on skript stop:
	clear {gildia::teleportacja::*}

command /baza:
	trigger:
		if {gildia::teleportacja::%player%} is set:
			stop
		set {gildia::teleportacja::%player%} to true	
		if player doesn't have guild:
			send "&cNie posiadasz gildii!" to player
			stop
		loop 8 times:
			send title "&aTeleport za:" with subtitle "&e%9 - loop-number%&6..." to player
			wait 1 second
		teleport player to player guild home location
		clear {gildia::teleportacja::%player%}

 

Odnośnik do komentarza
https://skript.pl/temat/42194-teleport-na-baze/#findComment-264588
Udostępnij na innych stronach

  • 0
8 godzin temu, Kormic napisał:

Proszę.


on skript stop:
	clear {gildia::teleportacja::*}

command /baza:
	trigger:
		if {gildia::teleportacja::%player%} is set:
			stop
		set {gildia::teleportacja::%player%} to true	
		if player doesn't have guild:
			send "&cNie posiadasz gildii!" to player
			stop
		loop 8 times:
			send title "&aTeleport za:" with subtitle "&e%9 - loop-number%&6..." to player
			wait 1 second
		teleport player to player guild home location
		clear {gildia::teleportacja::%player%}

 

A moglbys to zrobic ze jesli sie rusze, to teleport jest anulowany?

Odnośnik do komentarza
https://skript.pl/temat/42194-teleport-na-baze/#findComment-264640
Udostępnij na innych stronach

  • 0
on skript stop:
	clear {gildia::teleportacja::*}

command /baza [<text>]:
	trigger:
		if {gildia::teleportacja::%player%} is set:
			stop
		set {gildia::teleportacja::%player%} to true	
		if player doesn't have guild:
			send "&cNie posiadasz gildii!" to player
			stop
		set {_l} to player's location
		loop 8 times:
			if distance between {_l} and player's location > 0.1:
				send title "&Teleport przerwany!" to player
				stop
			send title "&aTeleport za:" with subtitle "&e%9 - loop-number%&6..." to player
			wait 1 second
		teleport player to player guild home location
		clear {gildia::teleportacja::%player%}

 

Odnośnik do komentarza
https://skript.pl/temat/42194-teleport-na-baze/#findComment-264643
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

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

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