Siemka, tak jak w tytule. Po wpisaniu komendy /randomtp nic się nie dzieje. Jeśli usunę "in world "world" " wszystko działa poprawnie, ale teleportuje mnie do świata, w którym jestem
options:
x-min: -3000
x-max: 3000
z-min: -3000
z-max: 3000
command /randomtp:
trigger:
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} in world "world"
stop
on damage:
if {randomtp.god.%victim%} is true:
cancel event
delete {randomtp.god.%victim%}
stop
Pytanie
Tralek 2
Siemka, tak jak w tytule. Po wpisaniu komendy /randomtp nic się nie dzieje. Jeśli usunę "in world "world" " wszystko działa poprawnie, ale teleportuje mnie do świata, w którym jestem
options: x-min: -3000 x-max: 3000 z-min: -3000 z-max: 3000 command /randomtp: trigger: 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} in world "world" stop on damage: if {randomtp.god.%victim%} is true: cancel event delete {randomtp.god.%victim%} stopOdnośnik do komentarza
https://skript.pl/temat/31955-problem-z-teleport-player-to-x-y-z-in-world-world/Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi