_OnePage_
Cehennem Yükleniyor - %89
Kod:
on rightclick with paper:
name of tool is "&61 Saatlik Fly"
add 1 hours to {fly::%player%}
remove 1 paper named "&61 Saatlik Fly" from player's inventory
send "&61 Saat Flyına Eklendi"
command /paper:
permission: sk.paper
trigger:
give 1 paper named "&61 Saatlik Fly" to player
on quit:
{flyda::%player%} is true
set flight mode of player to false
set {flyda::%player%} to false
remove {n::%player%} from {fly::%player%}
delete {n::%player%}
stop
command /fly:
trigger:
if {flyda::%player%} is true:
set flight mode of player to false
set {flyda::%player%} to false
remove {n::%player%} from {fly::%player%}
delete {n::%player%}
stop
if {fly::%player%} >= 1 hours:
if {flyda::%player%} isn't true:
set flight mode of player to true
set {n::%player%} to now
set {flyda::%player%} to true
send "&aFly Açıldı"
while {flyda::%player%} is true:
set {_n} to "%difference between {n::%player%} and now%"
set {_t} to "%{fly::%player%}%"
replace all "seconds" with "saniye" in {_n}
replace all "minutes" with "dakika" in {_n}
replace all "minute" with "dakika" in {_n}
replace all "hours" with "saat" in {_n}
replace all "hour" with "saat" in {_n}
replace all "and" with "ve" in {_n}
replace all "hours" with "saat" in {_t}
replace all "seconds" with "saniye" in {_t}
replace all "minutes" with "dakika" in {_t}
show action bar "&6%{_n}%'dır Fly Aktif &8Fly Zamanın %{_t}%" to player
if difference between {n::%player%} and now is greater than {fly::%player%}:
set flight mode of player to false
set {flyda::%player%} to false
send "&cFly Bitti"
delete {fly::%player%}
delete {n::%player%}
stop
wait 1 second
else:
send "Yeterli Fly Zamanın Yok"