Bulundu Arkadaşlar Yere Sünger Koyduğumuz Zaman Yerdeki Süngerin Hemen Silinmesini İstiyorum

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
çalışmadı :( birde zombiye vb saldırdığım zaman bu adamın envanteri boş diyor zombiye vurmuyor
 
Birde bu şekilde denermisin;
Kod:
on damage:
    if attacker is player:
        if victim is player:
            if {koruma::%victim%} is not set:
                loop all item items victim's inventory:
                    stop
                cancel event
                send "&cBu adam korumalı" to attacker
            if {koruma::%attacker%} is not set:
                message "&cKoruman kalktı!"
                set {koruma::%attacker%} to true
on respawn:
    delete {koruma::%player%}
on load:
    delete {koruma::*}
 
Son düzenleme:
PHP:
on damage:
    attacker is player
    victim is player
    if {koruma::%victim%} is not set:
        loop all item in victim's inventory:
            stop
        cancel event
        send "&cBu adam korumalı" to attacker
    if {koruma::%attacker%} is not set:
        message "&cKoruman kalktı!" to attacker
    set {koruma::%attacker%} to true
on respawn:
    delete {koruma::%player%}
on load:
    delete {koruma::*}
 
Sorun çözüldü ise belirtiniz.
 
teşekkürler ancak itemi olan kişiye de saldırılamıyor
 
items olarak düzelttim.
Kod:
on damage:
    if attacker is player:
        if victim is player:
            if {koruma::%victim%} is not set:
                loop all item items victim's inventory:
                    stop
                cancel event
                send "&cBu adam korumalı" to attacker
            if {koruma::%attacker%} is not set:
                message "&cKoruman kalktı!"
                set {koruma::%attacker%} to true
on respawn:
    delete {koruma::%player%}
on load:
    delete {koruma::*}
 
iki itemi olmayan kişi birbirine vurabiliyor
 
0.1 de blokun koyulduğunu görülürmü bilmem arkadaş koyulsun ama silinsin anında demiş. 0.1 salise anlamına geliyor biliyorsun değilmi
Elvette Biliyorum 0.1 De de bence koyulduğunu fark edecektir çünkü ; sünger koyulduk'dan 1 salise sonra silinecek süngeri
 
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