tugraofset741
Demir Madencisi
- Mesajlar
- 261
- En iyi cevaplar
- 0
- Beğeniler
- 24
- Puanları
- 260
Merhabalar Suya Atlayınca Belirlediğimiz Yerlere Gitsinler Şansa Göre IYI FORUMLAR!
Bir random teleport plugini kullanabilirsin. Skript ile oyuncu suya atladığında pluginin komutunu çalıştırırsın ve oyuncu rastgele bir yere ışınlanır.Şansa göre ayarlıyabilirmisin birden fazla yere gitcekler
every 2 ticks:
loop players:
if block at loop-player is water:
teleport player to random location of {locations::*}
command /loc <text>:
permission: asdasd
trigger:
if arg-1 is "add":
add location of block at player to {locations::*}
else if arg-1 is "remove":
remove location of block at player from {locations::*}
else if arg-1 is "list":
loop {locations::*}:
send "%loop-value%"
command /loc <text>:
permission: asdasd
trigger:
if arg-1 is "add":
add location of block at player to {locations::*}
else if arg-1 is "remove":
remove location of block at player from {locations::*}
else if arg-1 is "list":
loop {locations::*}:
send "%loop-value%"[/php][/QUOTE]
on join:
if {lastLoc::%player%} is not set:
set {lastLoc::%player%} to location of player
on any move:
if x coord of player is not x coord of {lastLoc::%player%}:
set {_c} to true
if y coord of player is not y coord of {lastLoc::%player%}:
set {_c} to true
if z coord of player is not z coord of {lastLoc::%player%}:
set {_c} to true
if {_c} is true:
if block at player is water:
teleport player to random location of {locations::*}
set {lastLoc::%player%} to location of player