[YARDIM]Komut eklermisiniz.?

alper1fawn

Ağaç Yumruklayıcı
En iyi cevaplar
0
Arkadaşlar ben bir kod yazdım fakat bu kodu komutlu hale getiremedim mesela /2vip su kodu yazınca gelmesini saglayamadım yardım pls
Kod:
every 10 seconds:
    give a chest named "&6Vip kutusu" to players
on right click with a chest:
    if display name of player's tool contains "&6Vip kutusu":
        cancel event
        remove 1 chest named "&6Vip kutusu" from player
        chance of 29%:
            execute console command "/manuadd %player% goldvip"
            message "&6Vip kutusun'dan &bMegaVIP &6kazandın!"
        else:
            chance of 19%:
                execute console command "/manuadd %player% ironvip"
                message "&6Vip kutusun'dan &8VIP &6kazandın!"
            else:
                chance of 9%:
                    execute console command "/manuadd %player% zumrutvip"
                    message "&6Vip kutusun'dan &aUltraVIP &6kazandın!"
                else:
                    chance of 5%:
                        execute console command "/manuadd %player% titanvip"
                        message "&6Vip kutusun'dan &aUltraVIP &6kazandın!"
                    else:
                        chance of 1%:
                            execute console command "/manuadd %player% sadecevip"
                            message "&6Vip kutusun'dan &aUltraVIP &6kazandın!"
[DOUBLEPOST=1436824413,1436824345][/DOUBLEPOST]every seconds kısmına command ekleyemedim hata verdi
 

mrbobaking

Kızıltaş Madencisi
En iyi cevaplar
0
player kullanamazsın every seconds da loop gerekir

Sent from my GT-I8190 using Tapatalk
 

alper1fawn

Ağaç Yumruklayıcı
En iyi cevaplar
0
yok benim istediğim every seconds kısmına command /2vip: ekleyince hata veriyor onu istedim
 

MhaWTHoR

Obsidyen Madencisi
En iyi cevaplar
1
PHP:
command /2vip:
    permission: yetki.yetki
    trigger:
        loop all players:
            give 1 of chest named "&6Vip kutusu" to loop-player
on right click with a chest:
    if display name of player's tool contains "&6Vip kutusu":
        cancel event
        remove 1 chest named "&6Vip kutusu" from player
        chance of 29%:
            execute console command "/manuadd %player% goldvip"
            message "&6Vip kutusun'dan &bMegaVIP &6kazandın!"
        else:
            chance of 19%:
                execute console command "/manuadd %player% ironvip"
                message "&6Vip kutusun'dan &8VIP &6kazandın!"
            else:
                chance of 9%:
                    execute console command "/manuadd %player% zumrutvip"
                    message "&6Vip kutusun'dan &aUltraVIP &6kazandın!"
                else:
                    chance of 5%:
                        execute console command "/manuadd %player% titanvip"
                        message "&6Vip kutusun'dan &aUltraVIP &6kazandın!"
                    else:
                        chance of 1%:
                            execute console command "/manuadd %player% sadecevip"
                            message "&6Vip kutusun'dan &aUltraVIP &6kazandın!"
 
Üst