Skocz do zawartości
  • 0

Rozdzka Telportacji na HardCore


Rozpier_
 Udostępnij

Pytanie

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

on script load:

register new shaped recipe for stick named "&6Rozdzka" with lore "&7Ta magiczna rozdzka teleportuje nas do:||&aSpawn" using air, gold block, air, air, diamond block, air, air, stick, air

command /setspawn:

trigger:

if player has permission "wlasciciel":

set {rozdzka.spawn} to location above location of player

send "&6Ustawiles lokacje spawnu. &8(&7%location above location of player%&8)"

stop

send "&4You don't have permission."

stop

on rightclick:

if player's tool is stick named "&6Rozdzka":

if {rozdzka.spawn} is set:

set {_x} to x-location of player

set {_y} to y-location of player

set {_z} to z-location of player

send "&7Poczekaj 5 sekund, zanim przeteleportuje."

loop 5 times:

wait 1 second

if difference between {_x} and x-location of player is larger than 0.5:

set {_a} to true

if difference between {_y} and y-location of player is larger than 0.5:

set {_a} to true

if difference between {_c} and z-location of player is larger than 0.5:

set {_a} to true

if {_a} is set:

send "&cTeleportacja przerwana."

stop

teleport player to {rozdzka.spawn}

send "&6Teleportacja przebiegla pomyslnie."

stop

send "&cNie ustawiono spawnu. Zglos do administracji."

stop

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

on script load:

register new shaped recipe for stick named "&6Rozdzka" with lore "&7Ta magiczna rozdzka teleportuje nas do:||&aSpawn" using air, gold block, air, air, diamond block, air, air, stick, air

command /setspawn:

trigger:

if player has permission "wlasciciel":

set {rozdzka.spawn} to location above location of player

send "&6Ustawiles lokacje spawnu. &8(&7%location above location of player%&8)"

stop

send "&4You don't have permission."

stop

on rightclick:

if player's tool is stick named "&6Rozdzka":

if {rozdzka.spawn} is set:

set {_x} to x-location of player

set {_y} to y-location of player

set {_z} to z-location of player

send "&7Poczekaj 5 sekund, zanim przeteleportuje."

loop 5 times:

wait 1 second

if difference between {_x} and x-location of player is larger than 0.5:

set {_a} to true

if difference between {_y} and y-location of player is larger than 0.5:

set {_a} to true

if difference between {_c} and z-location of player is larger than 0.5:

set {_a} to true

if {_a} is set:

send "&cTeleportacja przerwana."

stop

teleport player to {rozdzka.spawn}

send "&6Teleportacja przebiegla pomyslnie."

stop

send "&cNie ustawiono spawnu. Zglos do administracji."

stop

Ma 3 errors

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0



Może napiszesz jakie? Czy może mamy się domyślać? :)

Juz Wysle ci SS ej a jaki crafting



Może napiszesz jakie? Czy może mamy się domyślać? :)

Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
MASZ SS

// Dbl, trolling ~ :kog: Edytowane przez Rozpier_
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ę...