Options:
xMin: 1000 #X Od ilu ma być random tp? (kratek) #
xMax: 1000 #X Do ilu ma być random tp? (kratek) #
zMin: 1000 #Z Od ilu ma być random tp? (kratek) #
zMax: 1000 #Z Do ilu ma być random tp? (kratek) #
world: world #Nazwa swiata w jakim ma byc random tp #
on rightclick on sign:
if line 1 is "[Teleport]" or "[RandomTP]" or "[LosoweTP]"
Set {_targetx} to a random integer between {@xMin} and {@xMax}
Set {_targetz} to a random integer between {@zMin} and {@zMax}
send "&8Zostaniesz teleportowany w losowe miejsce. Pamietaj, ze mozesz zginac!"
wait 1 seconds
apply speed 3 to the player for 10 seconds
Send "&8Zostales teleportowany na %{_targetx}%, %{_targetz}%" to player
Execute console command "/tppos %player% %{_targetx}% 50 %{_targetz}%"
stop
Command /rtp:
trigger:
if player has permission "Rtp.Komenda":
Set {_targetx} to a random integer between {@xMin} and {@xMax}
Set {_targetz} to a random integer between {@zMin} and {@zMax}
send "&8Zostaniesz teleportowany w losowe miejsce. Pamietaj, ze mozesz zginac!"
wait 1 seconds
apply speed 3 to the player for 10 seconds
Send "&8Zostales teleportowany na %{_targetx}%, %{_targetz}%" to player
Execute console command "/tppos %player% %{_targetx}% 50 %{_targetz}%"
stop
Pytanie
Bóg 0
Options:
xMin: 1000 #X Od ilu ma być random tp? (kratek) #
xMax: 1000 #X Do ilu ma być random tp? (kratek) #
zMin: 1000 #Z Od ilu ma być random tp? (kratek) #
zMax: 1000 #Z Do ilu ma być random tp? (kratek) #
world: world #Nazwa swiata w jakim ma byc random tp #
on rightclick on sign:
if line 1 is "[Teleport]" or "[RandomTP]" or "[LosoweTP]"
Set {_targetx} to a random integer between {@xMin} and {@xMax}
Set {_targetz} to a random integer between {@zMin} and {@zMax}
send "&8Zostaniesz teleportowany w losowe miejsce. Pamietaj, ze mozesz zginac!"
wait 1 seconds
apply speed 3 to the player for 10 seconds
Send "&8Zostales teleportowany na %{_targetx}%, %{_targetz}%" to player
Execute console command "/tppos %player% %{_targetx}% 50 %{_targetz}%"
stop
Command /rtp:
trigger:
if player has permission "Rtp.Komenda":
Set {_targetx} to a random integer between {@xMin} and {@xMax}
Set {_targetz} to a random integer between {@zMin} and {@zMax}
send "&8Zostaniesz teleportowany w losowe miejsce. Pamietaj, ze mozesz zginac!"
wait 1 seconds
apply speed 3 to the player for 10 seconds
Send "&8Zostales teleportowany na %{_targetx}%, %{_targetz}%" to player
Execute console command "/tppos %player% %{_targetx}% 50 %{_targetz}%"
stop
#####################################################################################################################################################
Niedziała mi teleport oraz wyskakuje 19 errorów, komęda też nie działa proszę o pomoc
Odnośnik do komentarza
https://skript.pl/temat/17516-losowy-teleport/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi