Skript

  • Konuyu Başlatan Konuyu Başlatan mystelio
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 852
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

mystelio

Altın Benim Yeni Sevgilim
Katılım
19 Ekim 2016
Mesajlar
433
Elmaslar
147
Puan
13.860
Bu skriptte /vipgüç yazınca 1 dakika güç 2 vermesi gerekiyor ve 1 kere kullanınca 2 dakika beklemeden tekrar kullanmaması için uyarı mesajı geliyor uyarı mesajı "minute and seconds" gibi ingilizce görünüyor ben bunu türkçeleştirmeyi denedim fakat batırdım yardım edebilir misiniz :)

Kod:
command /vipgüç:
        permission: vipozellik.vipguc
        permission message: &eVIP &6&l» &7Bu özelliği kullanabilmek için VIP olmalısınız!
        trigger:
                set {_difference} to difference between {vipozellik2.%player%} and now
                set {_difference} to "%{_difference}%"
                if {_difference} is less than 2 minutes:
                        set  {_difference} to difference between {_difference} and 2 minutes
                        replace all "minute" with "dakika" in {_difference}
                        replace all "seconds" with "saniye" in {_difference}
                        message "&eVIP &6&l» &7Vip güç özelliğini tekrar kullanabilmek için &a%{_difference}% &7beklemelisiniz!"
                        stop
                set {vipozellik2.%player%} to now
                apply potion of strength 2 to the player for 60 seconds
                message "&eVIP &6&l» &7Vip güç özelliği aktif!"
                broadcast "&eVIP &6&l» &a%player% &7Vip güç özelliğini açtı!"
 
Bildiğim kadarıyla "minute" değilde "minutes" olcak :D
 
dostum hazır skript var zaten forumda biraz araştır bulursun .
 
Kod:
options:
    p: &8[&aVip&8]
    perm: &8[&aVip&8] &cBu Komutu Kullanmak icin vip yada yetkili olmalisiniz!
    ap: vip.admin
    use: vip.use
   
   
command /vipguc:
    permission: {@use}
    permission message: {@perm}
    trigger:
        if {kullandi::%player%} is false:
            apply strength 2 to the player for 60 seconds
            send "{@p} &aVip Guc Ozelligi Aktif!"
            set {kullandi::%player%} to true
            wait 120 seconds
            set {kullandi::%player%} to false
        else:
            send "{@p} &aVip Guc ozelligini kullanmak icin &c&l2 Dakika &aBeklemelisin!"

Bu Adam Çok Uğraşmış {difference} fln basit bir şekilde bunun gibi olur[DOUBLEPOST=1508088862,1508088656][/DOUBLEPOST]Sorun çözüldüyse @iTaKka Belirt Lütfen
 
Kod:
command /vipgüç:
    permission: vipozellik.vipguc
    permission message: &eVIP &6&l» &7Bu özelliği kullanabilmek için VIP olmalısınız!
    trigger:
        set {_difference} to difference between {vipozellik2.%player%} and now
        if {_difference} is less than 2 minutes:
            set  {_difference} to "%{_difference}%"
            replace all "minute" with "dakika" in {_difference}
            replace all "seconds" with "saniye" in {_difference}
            message "&eVIP &6&l» &7Vip güç özelliğini tekrar kullanabilmek için &a%{_difference}% &7beklemelisiniz!"
            stop
        set {vipozellik2.%player%} to now
        apply potion of strength 2 to the player for 60 seconds
        message "&eVIP &6&l» &7Vip güç özelliği aktif!"
        broadcast "&eVIP &6&l» &a%player% &7Vip güç özelliğini açtı!"
Doğru Yapmışsın Ama Tekrar Setledigin İçin TimeSpan Olarak Kalmış String Halinde Replace Atabilirsin
Etiket İçin Sağol
 
Konu kilit herkeze çok teşekkür ederim @DjuitieTR
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst