- Katılım
- 18 Ağu 2021
- Mesajlar
- 388
- Tepki
- 368
- Puan
- 28
Sunucuzda AFK kalan oyuncuları belirli bir yere ışınlatma skripti.
Kod:
on player stop walking:
set {_stop} to true
while {_stop} is true:
{loc::%player%} is set:
{loc::%player%} is player's location:
add 1 to {check::%player%}
else:
stop
{check::%player%} is higher than 5:
teleport player to {Loc}
set {loc::%player%} to player's location
wait 5 seconds
command /belirle:
trigger:
player is op
set {Loc} to player's location
message "AFK oyuncular buraya ışınlanacak."