Alev büyücüsü

Pentatonix

Zombi Katili
En iyi cevaplar
0
Block değil loop-block olması lazım.
Yani:
Kod:
on rightclick with a stick:
    display name of tool is "<red>Ates Asasi":
        loop blocks in radius 5 of player:
            if loop-block is air:
                set loop-block to fire
[DOUBLEPOST=1405487484,1405487129][/DOUBLEPOST]10 saniye sonra sönmesini istiyorsanda:
Kod:
on rightclick with a stick:
    display name of tool is "<red>Ates Asasi":
        set {_a} to location of the player
        loop blocks in radius 5 of {_a}:
            if loop-block is air:
                set loop-block to fire
        wait 10 seconds
        loop blocks in radius 5 of {_a}:
            if loop-block is fire:
                set loop-block to air
teşekkürler oldu ama asayı kullanan oyuncunun yanmaması lazım yoksa anlamı kalmaz bide asaya tekrar tıkaldıgında ateş cıkması için 20 saniye beklesin ve 20 saniye sonra tekrar ateş yaratabilirsin desin.
bide {_a} felan onlar nedir ??
 

ta1ha

Sosyal Medya Yöneticisi
Emektar Üye
En iyi cevaplar
1
1.si {_a} skill atılan yerin lokasyonu. Lokasyonu kaydediyorumki. 10 sn sonra ateşleri söndürebileyim aynı lokasyondaki. 2. karaktere ateş direnci verebilirsin bu sayedede ateşten canı gitmez. 3.sü cooldownu söyle yapabilirsin.
Kod:
on rightclick with a stick:
    if {atesskillcd.%player%} is set:
        display name of tool is "<red>Ates Asasi":
            set {_a} to location of the player
            loop blocks in radius 5 of {_a}:
                if loop-block is air:
                    set loop-block to fire
            wait 10 seconds
            loop blocks in radius 5 of {_a}:
                if loop-block is fire:
                    set loop-block to air
            wait 15 seconds
            delete {atesskillcd.%player%}
    else:
        send "25 saniyede bir skill atabilirsiniz." to player
 
Son düzenleme:

Pentatonix

Zombi Katili
En iyi cevaplar
0
1.si {_a} skill atılan yerin lokasyonu. Lokasyonu kaydediyorumki. 10 sn sonra ateşleri söndürebileyim aynı lokasyondaki. 2. karaktere ateş direnci verebilirsin bu sayedede ateşten canı gitmez. 3.sü cooldownu söyle yapabilirsin.
Kod:
on rightclick with a stick:
    if {atesskillcd.%player%} is set:
        display name of tool is "<red>Ates Asasi":
            set {_a} to location of the player
            loop blocks in radius 5 of {_a}:
                if loop-block is air:
                    set loop-block to fire
            wait 10 seconds
            loop blocks in radius 5 of {_a}:
                if loop-block is fire:
                    set loop-block to air
            wait 15 seconds
            delete {atesskillcd.%player%}
    else:
        send "25 saniyede bir skill atabilirsiniz." to player
şimdide ateş yapmıyor etrafı ? bide ateşte yanmamam lazım sadece yaktıgım ateş sönene kadar
 

ta1ha

Sosyal Medya Yöneticisi
Emektar Üye
En iyi cevaplar
1
apply Fire Resistance 1 to the player for 10 seconds ekle[DOUBLEPOST=1405579280,1405579181][/DOUBLEPOST]is not set olucaktı. Yanlış yazmışım.[DOUBLEPOST=1405579350][/DOUBLEPOST]
Kod:
on rightclick with a stick:
    if {atesskillcd.%player%} is not set:
        display name of tool is "<red>Ates Asasi":
            apply Fire Resistance 1 to the player for 10 seconds
            set {_a} to location of the player
            loop blocks in radius 5 of {_a}:
                if loop-block is air:
                    set loop-block to fire
            wait 10 seconds
            loop blocks in radius 5 of {_a}:
                if loop-block is fire:
                    set loop-block to air
            wait 15 seconds
            delete {atesskillcd.%player%}
    else:
        send "25 saniyede bir skill atabilirsiniz." to player
 

Pentatonix

Zombi Katili
En iyi cevaplar
0
apply Fire Resistance 1 to the player for 10 seconds ekle[DOUBLEPOST=1405579280,1405579181][/DOUBLEPOST]is not set olucaktı. Yanlış yazmışım.[DOUBLEPOST=1405579350][/DOUBLEPOST]
Kod:
on rightclick with a stick:
    if {atesskillcd.%player%} is not set:
        display name of tool is "<red>Ates Asasi":
            apply Fire Resistance 1 to the player for 10 seconds
            set {_a} to location of the player
            loop blocks in radius 5 of {_a}:
                if loop-block is air:
                    set loop-block to fire
            wait 10 seconds
            loop blocks in radius 5 of {_a}:
                if loop-block is fire:
                    set loop-block to air
            wait 15 seconds
            delete {atesskillcd.%player%}
    else:
        send "25 saniyede bir skill atabilirsiniz." to player
çalıştı çok teşekkür ederim ama bug buldum sürekli sağ tıkladıgımda ateş direnci etkisi artıyo süresi 45 sn oldu bide bekleme süresi yok 20 snye
 

ta1ha

Sosyal Medya Yöneticisi
Emektar Üye
En iyi cevaplar
1
Tam hali
Kod:
on rightclick with a stick:
    display name of tool is "<red>Ates Asasi":
        if {atesskillcd.%player%} is not set:
            set {atesskillcd.%player%} to 0
            apply Fire Resistance 1 to the player for 10 seconds
            set {_a} to location of the player
            loop blocks in radius 5 of {_a}:
                if loop-block is air:
                    set loop-block to fire
            wait 10 seconds
            loop blocks in radius 5 of {_a}:
                if loop-block is fire:
                    set loop-block to air
            wait 15 seconds
            delete {atesskillcd.%player%}
        else:
            send "25 saniyede bir skill atabilirsiniz." to player
 

Pentatonix

Zombi Katili
En iyi cevaplar
0
Tam hali
Kod:
on rightclick with a stick:
    display name of tool is "<red>Ates Asasi":
        if {atesskillcd.%player%} is not set:
            set {atesskillcd.%player%} to 0
            apply Fire Resistance 1 to the player for 10 seconds
            set {_a} to location of the player
            loop blocks in radius 5 of {_a}:
                if loop-block is air:
                    set loop-block to fire
            wait 10 seconds
            loop blocks in radius 5 of {_a}:
                if loop-block is fire:
                    set loop-block to air
            wait 15 seconds
            delete {atesskillcd.%player%}
        else:
            send "25 saniyede bir skill atabilirsiniz." to player
bug buldum sürekli sağ tıkladıgımda ateş direnci etkisi artıyo süresi 45 sn oldu bide bekleme süresi yok 20 saniye bunuda çözsen çok iyi olur
 

Minecraftplayerr

Java, Skript, Php, Html, Css, Javascript, Anime
En iyi cevaplar
7
bug buldum sürekli sağ tıkladıgımda ateş direnci etkisi artıyo süresi 45 sn oldu bide bekleme süresi yok 20 saniye bunuda çözsen çok iyi olur
Kodta sunucuma göre birkaç düzenleme yaptım ve şu an sorunsuz çalışıyor.
Kod:
on rightclick with a stick:
    display name of tool is "Cubuk":
        if {atesskillcd.%player%} is not set:
            set {atesskillcd.%player%} to 0
            apply Fire Resistance 1 to the player for 10 seconds
            wait 0.5 seconds
            set {_a} to location of the player
            loop blocks in radius 2 of {_a}:
                if loop-block is air:
                    set loop-block to fire
            wait 2.2 seconds
            loop blocks in radius 2 of {_a}:
                if loop-block is fire:
                    set loop-block to air
            wait 6 seconds
            delete {atesskillcd.%player%}
        else:
            send "10 saniyede bir skill atabilirsiniz." to player
 

ta1ha

Sosyal Medya Yöneticisi
Emektar Üye
En iyi cevaplar
1
bug buldum sürekli sağ tıkladıgımda ateş direnci etkisi artıyo süresi 45 sn oldu bide bekleme süresi yok 20 saniye bunuda çözsen çok iyi olur
Bende her şey düzgün çalışıyor. Reloadlamayımı unuttun acaba? Dene istersen bir daha.
Tam hali
Kod:
on rightclick with a stick:
    display name of tool is "<red>Ates Asasi":
        if {atesskillcd.%player%} is not set:
            set {atesskillcd.%player%} to 0
            apply Fire Resistance 1 to the player for 10 seconds
            set {_a} to location of the player
            loop blocks in radius 5 of {_a}:
                if loop-block is air:
                    set loop-block to fire
            wait 10 seconds
            loop blocks in radius 5 of {_a}:
                if loop-block is fire:
                    set loop-block to air
            wait 15 seconds
            delete {atesskillcd.%player%}
        else:
            send "25 saniyede bir skill atabilirsiniz." to player
 

Pentatonix

Zombi Katili
En iyi cevaplar
0
Kodta sunucuma göre birkaç düzenleme yaptım ve şu an sorunsuz çalışıyor.
Kod:
on rightclick with a stick:
    display name of tool is "Cubuk":
        if {atesskillcd.%player%} is not set:
            set {atesskillcd.%player%} to 0
            apply Fire Resistance 1 to the player for 10 seconds
            wait 0.5 seconds
            set {_a} to location of the player
            loop blocks in radius 2 of {_a}:
                if loop-block is air:
                    set loop-block to fire
            wait 2.2 seconds
            loop blocks in radius 2 of {_a}:
                if loop-block is fire:
                    set loop-block to air
            wait 6 seconds
            delete {atesskillcd.%player%}
        else:
            send "10 saniyede bir skill atabilirsiniz." to player
Teşekkür ederim çalıştııı
 
Üst