Boss Wars - Skript Sorunu

ByAehn

Lhaewion Reveth
Süper Üye
En iyi cevaplar
0
Arkadaşlar Yapmaya Çalıştığım Skript Bu Hatayı Veriyor;



Skript Kodu;
Kod:
command /bwjoin:
    trigger:
        set player's level to 300
        if {sayi} is not 2:
            add 1 to {sayi}
            add %player% to {oyuncular::*}
        if {sayi} is 2:
            loop {oyuncular::*}
            teleport loop-value to 86, 83, 1344
        if {sayi} is not set:
            set {sayi} to 1
 
on death of a player:
    clear drops
    loop {oyuncular::*}:
        if loop-value is player:
            send "&1[&bBossWars&1]&6 %player% &eElendin!" to player
            teleport player to 98, 91, 1270
            remove player from {oyuncular::*}
 
 
every second:
    loop all players:
        if loop-player's level is bigger than 0:
            reduce player's level by 1



Etiket Listesi;
@blackone1991 @BraveHero @Ranork @qYokunjoNp @ta1ha @Schaffer79 @GodofMilker @ByEnderTR @Secret_wither @IRFN @ByNovem
 

GodofMilker

Nether Yerlisi
En iyi cevaplar
0
1. hatada %player% yerine player kullanmayı dene
2-3-4'ü bilmiyorum hiç denemedim bilen varsa yazabilir koordinatlar options'dan variable ekleyerek yapılabilir (tahminen bi yerde görmüştüm de :D) herhalde
5.'de de reduce loop-player's level by 1'i dene
 

GodofMilker

Nether Yerlisi
En iyi cevaplar
0
2. hatadaki de tahminen (aslında sallıyorum çaktırma :D)
Kod:
loop {oyuncular::*}:
[tab]teleport loop-value
olucak hatalı olabilir bilmiyorum :(
 

ByAehn

Lhaewion Reveth
Süper Üye
En iyi cevaplar
0
Konu sohbet konusunua döndü.Çözebilen yokmu?
 

Salturbone

Portal Uzmanı
En iyi cevaplar
0
X Y Z yerine bir location kodu girip orayı seçmeyi dene. Hatta kodları hemen vereyim.
PHP:
command /bw <text>:
    trigger:
        if arg 1 is "setspawn":
            set {bwspawn} to location of player
        else if arg 1 is "bwspawn":
            teleport player to {bwspawn}
 

ByAehn

Lhaewion Reveth
Süper Üye
En iyi cevaplar
0
Güzelde bunu
Kod:
teleport loop-value to 86, 83, 1344
Burayla nasıl değiştireceğim?
 

Salturbone

Portal Uzmanı
En iyi cevaplar
0
PHP:
command /bw <text>:
    trigger:
        if arg 1 is "setspawn":
            set {bwspawn} to location of player
Önce yukarıdaki kodu biryerine yaz onun. Sonra alttaki satırları o teleport loop-value yerine yaz
PHP:
teleport player to {bwspawn}
 

ByAehn

Lhaewion Reveth
Süper Üye
En iyi cevaplar
0
Hocam sağol.bir şey daha sorcam
Bu kodu kullandım;
Kod:
On rightclick with a emerald:
    chance 50%
        send "1" to player
    chance 50%
        send "2" to player
Ama zümrüte sağ tıklayınca 2 ve 1 mesajı geliyor
 

Salturbone

Portal Uzmanı
En iyi cevaplar
0
Hocam sağol.bir şey daha sorcam
Bu kodu kullandım;
Kod:
On rightclick with a emerald:
    chance 50%
        send "1" to player
    chance 50%
        send "2" to player
Ama zümrüte sağ tıklayınca 2 ve 1 mesajı geliyor
chance 50% den sonra ":" yani iki nokta işareti kullanmamışsın...
 

ByAehn

Lhaewion Reveth
Süper Üye
En iyi cevaplar
0
şu an telefondayım buraya yazmayı unutmuşum yoksa PC de : var.Bazen birisi yazıyor bazende ikiside yazıyor.
 

Ranork

Lapis Toplayıcısı
Emektar Üye
En iyi cevaplar
0
Hocam sağol.bir şey daha sorcam
Bu kodu kullandım;
Kod:
On rightclick with a emerald:
    chance 50%
        send "1" to player
    chance 50%
        send "2" to player
Ama zümrüte sağ tıklayınca 2 ve 1 mesajı geliyor
bildiğim kadarıyla kalan şans için else gibi bir şey kullanıyorduk, else dener misin ikinci chance e
 
Üst