- En iyi cevaplar
- 1
ÇalışıyorLoop ile yapılacağını sanmıyordum başka yerlere etki eder diye fakat bu mantıklı bir çözüm çalışır gibime geldi.
ÇalışıyorLoop ile yapılacağını sanmıyordum başka yerlere etki eder diye fakat bu mantıklı bir çözüm çalışır gibime geldi.
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.Block değil loop-block olması lazım.
Yani:
[DOUBLEPOST=1405487484,1405487129][/DOUBLEPOST]10 saniye sonra sönmesini istiyorsanda: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
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
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 kadar1.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
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 snyeapply 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
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 olurTam 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
Kodta sunucuma göre birkaç düzenleme yaptım ve şu an sorunsuz çalışıyor.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
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
Bende her şey düzgün çalışıyor. Reloadlamayımı unuttun acaba? Dene istersen bir daha.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
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
Teşekkür ederim çalıştııı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