[SK/HELP] Zaman+Değer?

BraveHero

Dobloyu n'aptın
En iyi cevaplar
1
Böyle bir şey mümkün mü?
Mümkünse nasıl :C
Kod:
set {_sure} to {oyuncupuani} seconds
set {zaman} to now+{_sure}


#Başka bir işlem:
if {zaman} is smaller than now:
   send "Zaman doldu. İşlem tamamlandı!" to player
else:
   set {_kalansure} to now-{zaman}
   send "Kalan zaman: %{_kalansure}%"  to player
 

Thraenkost

Lapis Toplayıcısı
En iyi cevaplar
1
PHP:
set {_sure} to {oyuncupuani} now
set {zaman} to (now + {_sure})
Ver lan şimdi metin taşı skriptini

PHP:
   set {_kalansure} to (now - {zaman})
   send "Kalan zaman: %{_kalansure}%"  to player

Ver şimdi ödülümü
 

afesraca

Obsidyen Madencisi
En iyi cevaplar
0
tam anlamadım ama galiba söyle
PHP:
 on command:
    if command is "repair":
        if player do not have permission "sk.cmd.nocooldown":
            if difference of {SKT.%player%} and now is smaller than a minute:
                send "&cBu komutu kullanmak icin %difference of difference of {SKT.%player%} and now and a minute% beklemelisin."
                cancel event
            else:
                set {SKT.%player%} to now
        if {SKT.%player%} is now:
            send "&aKomut basarili"
@Blueyescat
 

BraveHero

Dobloyu n'aptın
En iyi cevaplar
1
tam anlamadım ama galiba söyle
PHP:
 on command:
    if command is "repair":
        if player do not have permission "sk.cmd.nocooldown":
            if difference of {SKT.%player%} and now is smaller than a minute:
                send "&cBu komutu kullanmak icin %difference of difference of {SKT.%player%} and now and a minute% beklemelisin."
                cancel event
            else:
                set {SKT.%player%} to now
        if {SKT.%player%} is now:
            send "&aKomut basarili"
@Blueyescat
Onu ben de biliyorum. Alakası yok :C
 
Üst