Çözüldü 2 error düzeltirmisiniz

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

Orco

Yay Yok, İskelet Yok
Katılım
2 Aralık 2017
Mesajlar
283
Elmaslar
62
Puan
13.680
Yaş
27

Discord:

orcununal#5644

Damage kısmında sorun var sadece anladıgım kadarıyla
Kod:
on damage of player:
    if player's world is "conconcraft":
        if victim is player:
            if attacker is player:
                if {takimoldu.%attacker%.%victim%} is true:
                    cancel event
                if {takimoldu.%victim%.%attacker%} is true:
                    cancel event
                else:
                    stop
    else:
        stop

command /takimistek [<player>]:
    trigger:
        if player's world is "conconcraft":
            if arg-1 is not set:
                send player title "&c&lHATA" with subtitle "&aBir &6Oyuncu &aismi girmelisin" for 4 seconds
            else:
                send "&7[&c&lIors&f&lNetwork&7] &e» &b%player% &aSizinle takım kurmak istiyor kabul etmek için &e/takim onayla %player% &cReddetmek &aiçin &e/takim reddet %player% &akomutu'nu giriniz" to arg-1
                send "&7[&c&lIors&f&lNetwork&7] &e» &b%arg-1% &aAdlı oyuncuya istek gönderildi" to player
                set {takimistegi.%arg 1%.%player%} to true
        else:
            send "&7[&c&lIors&f&lNetwork&7] &e» &aBu komut &e/conconcraft &aSunucusuna özeldir!" to player

command /takim [<text>] [<player>]:
    trigger:
        if player's world is "conconcraft":
            if arg-1 is not set: 
                send "&7[&c&lIors&f&lNetwork&7] &e» &aKullanım&6: &e/takim onayla <Nick> &bYa da &e/takim reddet <Nick>" to player
            if arg-2 is not set:
                send player title "&c&lHATA" with subtitle "&aBir &6Oyuncu &aismi girmelisin" for 4 seconds
            if arg-1 is "onayla":
                if {takimistegi.%player%.%arg 2%} is true:
                    set {takimoldu.%player%.%arg 2%} to true
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aIstek kabul edildi!" to player
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aIstek kabul edildi! &e/takimayril %player% &ayazarak ayrılabilirsiniz!" to arg-2
                else:
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aBu oyuncu size istek atmamış!" to player
            if arg-1 is "reddet":
                if {takimistegi.%player%.%arg 2%} is true:
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aIstek &creddedildi!" to player
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aIstek &creddedildi!" to arg-2
                    set {takimistegi.%player%.%arg 2%} to false
                else:
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aBu oyuncu size istek atmamış!" to player
        else:
            send "&7[&c&lIors&f&lNetwork&7] &e» &aBu komut &e/conconcraft &aSunucusuna özeldir!" to player

command /takimayril [<player>]:
    trigger:
        if player's world is "conconcraft": 
            if arg-1 is not set:
                send player title "&c&lHATA" with subtitle "&aBir &6Oyuncu &aismi girmelisin" for 4 seconds
            if arg-1 is online:
                if {takimoldu.%player%.%arg 1%} is true:
                    set {takimoldu.%player%.%arg 1%} to false
                    set {takimistegi.%player%.%arg 1%} to false
                    send "&aTakımdan ayrıldınız" to player
                else:
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aBu oyuncu ile bir takımınız yok!" to player
        else:
            send "&7[&c&lIors&f&lNetwork&7] &e» &aBu komut &e/conconcraft &aSunucusuna özeldir!" to player
 
Hataları SS yoluyla paylaşırsan yardımcı olabilirim.
 
Kod:
on damage of player:
    if victim's world is "conconcraft":
        if victim is player:
            if attacker is player:
                if {takimoldu.%attacker%.%victim%} is true:
                    cancel event
                if {takimoldu.%victim%.%attacker%} is true:
                    cancel event

command /takimistek [<player>]:
    trigger:
        if player's world is "conconcraft":
            if arg-1 is not set:
                send player title "&c&lHATA" with subtitle "&aBir &6Oyuncu &aismi girmelisin" for 4 seconds
            else:
                send "&7[&c&lIors&f&lNetwork&7] &e» &b%player% &aSizinle takım kurmak istiyor kabul etmek için &e/takim onayla %player% &cReddetmek &aiçin &e/takim reddet %player% &akomutu'nu giriniz" to arg-1
                send "&7[&c&lIors&f&lNetwork&7] &e» &b%arg-1% &aAdlı oyuncuya istek gönderildi" to player
                set {takimistegi.%arg 1%.%player%} to true
        else:
            send "&7[&c&lIors&f&lNetwork&7] &e» &aBu komut &e/conconcraft &aSunucusuna özeldir!" to player

command /takim [<text>] [<player>]:
    trigger:
        if player's world is "conconcraft":
            if arg-1 is not set:
                send "&7[&c&lIors&f&lNetwork&7] &e» &aKullanım&6: &e/takim onayla <Nick> &bYa da &e/takim reddet <Nick>" to player
            if arg-2 is not set:
                send player title "&c&lHATA" with subtitle "&aBir &6Oyuncu &aismi girmelisin" for 4 seconds
            if arg-1 is "onayla":
                if {takimistegi.%player%.%arg 2%} is true:
                    set {takimoldu.%player%.%arg 2%} to true
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aIstek kabul edildi!" to player
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aIstek kabul edildi! &e/takimayril %player% &ayazarak ayrılabilirsiniz!" to arg-2
                else:
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aBu oyuncu size istek atmamış!" to player
            if arg-1 is "reddet":
                if {takimistegi.%player%.%arg 2%} is true:
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aIstek &creddedildi!" to player
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aIstek &creddedildi!" to arg-2
                    set {takimistegi.%player%.%arg 2%} to false
                else:
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aBu oyuncu size istek atmamış!" to player
        else:
            send "&7[&c&lIors&f&lNetwork&7] &e» &aBu komut &e/conconcraft &aSunucusuna özeldir!" to player

command /takimayril [<player>]:
    trigger:
        if player's world is "conconcraft":
            if arg-1 is not set:
                send player title "&c&lHATA" with subtitle "&aBir &6Oyuncu &aismi girmelisin" for 4 seconds
            if arg-1 is online:
                if {takimoldu.%player%.%arg 1%} is true:
                    set {takimoldu.%player%.%arg 1%} to false
                    set {takimistegi.%player%.%arg 1%} to false
                    send "&aTakımdan ayrıldınız" to player
                else:
                    send "&7[&c&lIors&f&lNetwork&7] &e» &aBu oyuncu ile bir takımınız yok!" to player
        else:
            send "&7[&c&lIors&f&lNetwork&7] &e» &aBu komut &e/conconcraft &aSunucusuna özeldir!" to player
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
Buyrun. Çözüldüyse rapor ediniz.
 
Sorun çözüldü mü?
 
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