Witam ma problem z pewnym skryptem na random tp otóż zywkli gracze nie mogą używać random tp dałem flagi takie jak
use allow
ale nadal nie działa jak operator nie ma problemu a jako gracz już tak prosze o pomoc ponieważ chce otwożyć server a bez randomtp ani rusz
Skrypt:
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
Whiteyea 1
Witam ma problem z pewnym skryptem na random tp otóż zywkli gracze nie mogą używać random tp dałem flagi takie jak
use allow
ale nadal nie działa jak operator nie ma problemu a jako gracz już tak prosze o pomoc ponieważ chce otwożyć server a bez randomtp ani rusz
Skrypt:
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
Odnośnik do komentarza
https://skript.pl/temat/17793-randomtp/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi