Bulundu Belirli İtemleri Büyülemeyi Kapatmak

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
(Örs için) Eşya büyülemeyi custom model datasına göre engellemek isterseniz;
JavaScript:
on inventory click:
    if player's current inventory = anvil inventory:
        if index of event-slot = 2:
            if slot 2 of event-inventory = any sword:
                if custom model data of slot 2 of event-inventory = 1000:
                    cancel event
                    close player's inventory
                    send action bar "&cBu kılıcı büyüleyemezsin." to player

ismine göre engellemek isterseniz;
JavaScript:
on inventory click:
    if player's current inventory = anvil inventory:
        if index of event-slot = 2:
            if slot 2 of event-inventory = any sword:
                if name of slot 0 or 1 of clicked inventory contains "+6":
                    cancel event
                    close player's inventory
                    send action bar "&cBu kılıcı büyüleyemezsin." to player
(addon gerektirmez)
 
Son düzenleme:
Gereksiz Uzadı Al Kullan
JavaScript:
on inventory click:
    if player's current inventory = anvil inventory:
        if index of event-slot = 2:
            if slot 0 of event-inventory is a any sword:
                if slot 1 of event-inventory is a enchanted book:
                    set {_i} to slot 0 of event-inventory
                    if {_i} name contains "&4+6":
                        stop
                        send action bar "&cBu kılıcı büyüleyemezsin." to player
 
(Örs için) Eşya büyülemeyi custom model datasına göre engellemek isterseniz;
JavaScript:
on inventory click:
    if player's current inventory = anvil inventory:
        if index of event-slot = 2:
            if slot 2 of event-inventory = any sword:
                if custom model data of slot 2 of event-inventory = 1000:
                    cancel event
                    close player's inventory
                    send action bar "&cBu kılıcı büyüleyemezsin." to player

ismine göre engellemek isterseniz;
JavaScript:
on inventory click:
    if player's current inventory = anvil inventory:
        if index of event-slot = 2:
            if slot 2 of event-inventory = any sword:
                if name of slot 0 or 1 of clicked inventory contains "+6":
                    cancel event
                    close player's inventory
                    send action bar "&cBu kılıcı büyüleyemezsin." to player
(addon gerektirmez)
Soğalasın dostum.
 
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