Son kullanma tarihi geçmiş, bayatlamış bir tarayıcı kullanıyorsanız. Mercedes kullanmak yerine tosbaya binmek gibi... Websiteleri düzgün görüntüleyemiyorsanız eh, bi zahmet tarayıcınızı güncelleyiniz. Modern Web standartlarını karşılayan bir tarayıcı alternatifine göz atın.
Arkadaşlar bu skripti GUİ'li yapabilirmisiniz şimdiden teşekkür ederim
Kod:
options:
alınacakpararepair: 10000 #repair atıldığında alınacak para
alınacakpararepairall: 30000 #repair all atıldığında alınacak para
command /repair [<text>]:
aliases: /tamir
trigger:
if arg-1 is not set:
if player have permission "tamir.free":
repair tool of player
send "&7[&aTamir&7] &aElinizdeki eşya tamir edildi."
else:
set {_x} to {@alınacakpararepair}-1
if player's money is bigger than {_x}:
remove {@alınacakpararepair} from player's money
repair tool of player
send "&7[&aTamir&7] &aElinizdeki eşya tamir edildi."
else:
send "&aElindekini tamir etmek için yeterli paran yok."
if arg-1 is "all":
if player have permission "tamir.free":
loop all items of player:
repair loop-value
send "&7[&aTamir&7] &aEnvanterinizdeki bütün eşyalar tamir edildi."
else:
set {_x} to {@alınacakpararepairall}-1
if player's money is bigger than {_x}:
remove {@alınacakpararepairall} from player's money
loop all items of player:
repair loop-value
send "&7[&aTamir&7] &aEnvanterinizdeki bütün eşyalar tamir edildi."
else:
send "&aEnvanterinizdeki bütün eşyaları tamir etmek için yeterli paran yok."
options:
alınacakpararepair: 10000 #repair atıldığında alınacak para
alınacakpararepairall: 30000 #repair all atıldığında alınacak para
command /repairk [<text>]:
aliases: /tamiret
trigger:
if arg-1 is not set:
if player have permission "tamir.free":
repair tool of player
send "&7[&aTamir&7] &aElinizdeki eşya tamir edildi."
else:
set {_x} to {@alınacakpararepair}-1
if player's money is bigger than {_x}:
remove {@alınacakpararepair} from player's money
repair tool of player
send "&7[&aTamir&7] &aElinizdeki eşya tamir edildi."
else:
send "&aElindekini tamir etmek için yeterli paran yok."
if arg-1 is "all":
if player have permission "tamir.free":
loop all items of player:
repair loop-value
send "&7[&aTamir&7] &aEnvanterinizdeki bütün eşyalar tamir edildi."
else:
set {_x} to {@alınacakpararepairall}-1
if player's money is bigger than {_x}:
remove {@alınacakpararepairall} from player's money
loop all items of player:
repair loop-value
send "&7[&aTamir&7] &aEnvanterinizdeki bütün eşyalar tamir edildi."
else:
send "&aEnvanterinizdeki bütün eşyaları tamir etmek için yeterli paran yok."
command /tamir:
aliases: /repair
trigger:
open virtual chest with size 3 named "&2Tamir" to player
make gui slot 11 of player with 159:13 named "&2Nasıl tek eşyamı tamir edeceğim" with lore "&7Eşyayı elinize alın ve /tamiret komutunu kullanın" to nothing
make gui slot 15 of player with 159:0 named "&4Nasıl tüm eşyalarımı tamir edeceğim?" with lore "&7Bu bloğa tıkladığınızda tüm eşyalarınız tamir olacak" to run player command "repairk all"
make gui slot 0 of player with 160:0 named "&2Tamir" to close
make gui slot 1 of player with 160:0 named "&2Tamir" to close
make gui slot 2 of player with 160:0 named "&2Tamir" to close
make gui slot 3 of player with 160:0 named "&2Tamir" to close
make gui slot 4 of player with 160:0 named "&2Tamir" to close
make gui slot 5 of player with 160:0 named "&2Tamir" to close
make gui slot 6 of player with 160:0 named "&2Tamir" to close
make gui slot 7 of player with 160:0 named "&2Tamir" to close
make gui slot 8 of player with 160:0 named "&2Tamir" to close
make gui slot 9 of player with 160:0 named "&2Tamir" to close
make gui slot 17 of player with 160:0 named "&2Tamir" to close
make gui slot 18 of player with 160:0 named "&2Tamir" to close
make gui slot 19 of player with 160:0 named "&2Tamir" to close
make gui slot 20 of player with 160:0 named "&2Tamir" to close
make gui slot 21 of player with 160:0 named "&2Tamir" to close
make gui slot 22 of player with 160:0 named "&2Tamir" to close
make gui slot 23 of player with 160:0 named "&2Tamir" to close
make gui slot 24 of player with 160:0 named "&2Tamir" to close
make gui slot 25 of player with 160:0 named "&2Tamir" to close
make gui slot 26 of player with 160:0 named "&2Tamir" to close
Bazı komutlarda ufak isim değişiklikleri yaptım zaten incelediğinde anlarsın. Ayrıca skripti denemedim olmazsa hatanın fotoğrafını atmayı unutma :)
options:
alınacakpararepair: 10000 #repair atıldığında alınacak para
alınacakpararepairall: 30000 #repair all atıldığında alınacak para
command /repairk [<text>]:
aliases: /tamiret
trigger:
if arg-1 is not set:
if player have permission "tamir.free":
repair tool of player
send "&7[&aTamir&7] &aElinizdeki eşya tamir edildi."
else:
set {_x} to {@alınacakpararepair}-1
if player's money is bigger than {_x}:
remove {@alınacakpararepair} from player's money
repair tool of player
send "&7[&aTamir&7] &aElinizdeki eşya tamir edildi."
else:
send "&aElindekini tamir etmek için yeterli paran yok."
if arg-1 is "all":
if player have permission "tamir.free":
loop all items of player:
repair loop-value
send "&7[&aTamir&7] &aEnvanterinizdeki bütün eşyalar tamir edildi."
else:
set {_x} to {@alınacakpararepairall}-1
if player's money is bigger than {_x}:
remove {@alınacakpararepairall} from player's money
loop all items of player:
repair loop-value
send "&7[&aTamir&7] &aEnvanterinizdeki bütün eşyalar tamir edildi."
else:
send "&aEnvanterinizdeki bütün eşyaları tamir etmek için yeterli paran yok."
command /tamir:
aliases: /repair
trigger:
open virtual chest with size 3 named "&2Tamir" to player
make gui slot 11 of player with 159:13 named "&2Nasıl tek eşyamı tamir edeceğim" with lore "&7Eşyayı elinize alın ve /tamiret komutunu kullanın" to nothing
make gui slot 15 of player with 159:0 named "&4Nasıl tüm eşyalarımı tamir edeceğim?" with lore "&7Bu bloğa tıkladığınızda tüm eşyalarınız tamir olacak" to run player command "repairk all"
make gui slot 0 of player with 160:0 named "&2Tamir" to close
make gui slot 1 of player with 160:0 named "&2Tamir" to close
make gui slot 2 of player with 160:0 named "&2Tamir" to close
make gui slot 3 of player with 160:0 named "&2Tamir" to close
make gui slot 4 of player with 160:0 named "&2Tamir" to close
make gui slot 5 of player with 160:0 named "&2Tamir" to close
make gui slot 6 of player with 160:0 named "&2Tamir" to close
make gui slot 7 of player with 160:0 named "&2Tamir" to close
make gui slot 8 of player with 160:0 named "&2Tamir" to close
make gui slot 9 of player with 160:0 named "&2Tamir" to close
make gui slot 17 of player with 160:0 named "&2Tamir" to close
make gui slot 18 of player with 160:0 named "&2Tamir" to close
make gui slot 19 of player with 160:0 named "&2Tamir" to close
make gui slot 20 of player with 160:0 named "&2Tamir" to close
make gui slot 21 of player with 160:0 named "&2Tamir" to close
make gui slot 22 of player with 160:0 named "&2Tamir" to close
make gui slot 23 of player with 160:0 named "&2Tamir" to close
make gui slot 24 of player with 160:0 named "&2Tamir" to close
make gui slot 25 of player with 160:0 named "&2Tamir" to close
make gui slot 26 of player with 160:0 named "&2Tamir" to close
Bazı komutlarda ufak isim değişiklikleri yaptım zaten incelediğinde anlarsın. Ayrıca skripti denemedim olmazsa hatanın fotoğrafını atmayı unutma :)
Zaten tamir all menüden tıklanıp yapılıyor ama oyuncunun elindeki eşyayı tamir etmesi guiyle yaparsak hata olabilir oyuncu gui de tamir et bloğuna tıklarsa guiyi açarken elinde hangi eşya varsa onu tamir eder
Zaten tamir all menüden tıklanıp yapılıyor ama oyuncunun elindeki eşyayı tamir etmesi guiyle yaparsak hata olabilir oyuncu gui de tamir et bloğuna tıklarsa guiyi açarken elinde hangi eşya varsa onu tamir eder
ya armorstandeditör kullanıyorum ascmd ile komut eklicem armor stand a sağ tıkladığında bu menü açılcak tamir menüsü ordan tamir edicek o yüzden guiden tamir yapılmasını istiyorum
TAMİR SKRİPTİ Essentials'ta böyle bir özelliğin var olduğunun farkında olduğumu belirtmek isterim. Sadece kendimi geliştirmek ve aynı zamanda arayan kişilere yardımcı olmak açısından yazdım ve şimdi de paylaşıyorum. Kullanım: /tamir /tamir el /tamir herşey NOT: /tamir ile direk menüye...
www.mc-tr.com
Kendi yapmış olduğum bir tamir skriptidir.
Essentials gereklidir. İşinizi görürse en iyi cevap seçebilirsiniz.