mam skrypt na losowe tp, ale nie teleportuje graczy tylko mnie jako op'a (wlasciciel)
options:
x-min: -3000
x-max: 3000
z-min: -3000
z-max: 3000
on right click:
if clicked block is stone button:
if block behind clicked block is sponge:
set {_x} to random integer between {@x-min} and {@x-max}
set {_y} to 256
set {_z} to random integer between {@z-min} and {@z-max}
set {_location} to location at {_x}, {_y}, {_z}
set {randomtp.god.%player%} to true
teleport player to {_location}
send " &8» &7Przeteleportowano w losowe koordynaty &6(x: %{_x}% | z: %{_z}%)&7."
stop
on damage:
if victim is player:
if {randomtp.god.%victim%} is true:
cancel event
delete {randomtp.god.%victim%}
stop
Pytanie
Koksiak 0
Witam.
mam skrypt na losowe tp, ale nie teleportuje graczy tylko mnie jako op'a (wlasciciel)
options: x-min: -3000 x-max: 3000 z-min: -3000 z-max: 3000 on right click: if clicked block is stone button: if block behind clicked block is sponge: set {_x} to random integer between {@x-min} and {@x-max} set {_y} to 256 set {_z} to random integer between {@z-min} and {@z-max} set {_location} to location at {_x}, {_y}, {_z} set {randomtp.god.%player%} to true teleport player to {_location} send " &8» &7Przeteleportowano w losowe koordynaty &6(x: %{_x}% | z: %{_z}%)&7." stop on damage: if victim is player: if {randomtp.god.%victim%} is true: cancel event delete {randomtp.god.%victim%} stopoto skrypt
Edytowane przez nicku1Dodałem code.
Notatka dodana przez Nicku
Odnośnik do komentarza
https://skript.pl/temat/27950-nie-dziala/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
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ą.