İçiniz fesat ***Başlığı görünce...
Anladınız siz.
on leftclick with book:
if name of player's tool is "&6At Kitabi":
if {AT.%player%} is not set:
spawn a horse at player
equip the spawned horse with saddle
set spawned horse's name to "&6%player%"
set {AT.%player%} to true
stop
if {AT.%player%} is false:
spawn a horse at player
equip the spawned horse with saddle
set spawned horse's name to "&6%player%"
set {AT.%player%} to true
stop
if {AT.%player%} is true:
send "&6Zaten at cagirmissin geri yollamak icin kitaba sag tikla."
stop
on rightclick with book:
if name of player's tool is "&6At Kitabi":
if {AT.%player%} is true:
loop all horses:
display name of loop-entity is "&6%player%"
kill loop-entity
set {AT.%player%} to false
stop
if {AT.%player%} is false:
send "&6At cagirmak icin kitaba sol tikla."
stop
on damage:
if victim is a horse:
if victim's name is set:
if attacker is player:
send "&6Sahibi olan bir ata vuramazsin" to attacker
cancel event
else:
cancel event
on death of horse:
if victim's name is set:
clear drops
command /at [<text>]:
trigger:
if arg 1 is "kitap":
give 1 book named "&6At Kitabi" to player
if arg 1 is "bug":
delete {AT.%player%}
send "&6Bug basariyla düzeltildi"
if arg 1 is not set:
send "&6/at kitap 1 tane at kitabi verir." to player
send "&6/at bug Olusan bugu düzeltir" to player
Kardeşim saol güzel olmuş bide bu at'ın ismini değiştirmek için komut yada yapılabilcek bir şey varmıPek özen göstermedim ama çalışır hata veya bug bulursan haber ver.
Teşekkür için mesajı beğenebilirsin
Kod:on leftclick with book: if name of player's tool is "&6At Kitabi": if {AT.%player%} is not set: spawn a horse at player equip the spawned horse with saddle set spawned horse's name to "&6%player%" set {AT.%player%} to true stop if {AT.%player%} is false: spawn a horse at player equip the spawned horse with saddle set spawned horse's name to "&6%player%" set {AT.%player%} to true stop if {AT.%player%} is true: send "&6Zaten at cagirmissin geri yollamak icin kitaba sag tikla." stop on rightclick with book: if name of player's tool is "&6At Kitabi": if {AT.%player%} is true: loop all horses: display name of loop-entity is "&6%player%" kill loop-entity set {AT.%player%} to false stop if {AT.%player%} is false: send "&6At cagirmak icin kitaba sol tikla." stop on damage: if victim is a horse: if victim's name is set: if attacker is player: send "&6Sahibi olan bir ata vuramazsin" to attacker cancel event else: cancel event on death of horse: if victim's name is set: clear drops command /at [<text>]: trigger: if arg 1 is "kitap": give 1 book named "&6At Kitabi" to player if arg 1 is "bug": delete {AT.%player%} send "&6Bug basariyla düzeltildi" if arg 1 is not set: send "&6/at kitap 1 tane at kitabi verir." to player send "&6/at bug Olusan bugu düzeltir" to player
Bazen oyuncu atı'nı çağramıyor sonra ./at bug yazınca düzeliyor fakat bir daha at bug yazarsa bir daha at çağrabiliyorsun onun için çağran kişinin bütün atlarını öldürme olabilirmiKardeşim saol güzel olmuş bide bu at'ın ismini değiştirmek için komut yada yapılabilcek bir şey varmı
bir sorun daha var at'ı geri yollamaya basınca at damage yiyor 2 kere ölüyor ve at tan item düşüyor bunu nasıl kapatabiliriz çok teşekkürler