Sunucudaki Tüm Oyunculara kit verme

BlackPvPNetwork

Marangoz
En iyi cevaplar
0
İyi Günler FOrum Sakinleri,

Şunu İstiyorum sunucudaki oyuncuların %25 ine tahta kılıç %25 inetaş kılıç %25 ine dia kılıç %25 ine iron kılıç
verilmesini istiyorum /baslat yazınca,
yapabilene şimdiden teşekkürler.​
 

ToprakM

KEK
Emektar Üye
En iyi cevaplar
49
JavaScript:
command /Başlat:
    aliases: baslat, start
    permission: yetki.kurucu
    permission message: &4Hata! &cBu komutu kullanmak için Kurucu olmalısın!
    usage: &bKullanımı: &e/Başlat
    trigger:
        loop all players:
            if {_elmas::%loop-player%} or {_demir::%loop-player%} or {_altin::%loop-player%} or {tahta::%loop-player%} is not set:
            chance of 25%:
                set {_elmas::%loop-player%} to true
                give a 276 named "&b&lElmak Kılıç" to loop-value
            if {_elmas::%loop-player%} or {_demir::%loop-player%} or {_altin::%loop-player%} or {tahta::%loop-player%} is not set:
            chance of 33%:
                set {_demir::%loop-player%} to true
                give a 267 named "&8&lDemir Kılıç" to loop-value
            if {_elmas::%loop-player%} or {_demir::%loop-player%} or {_altin::%loop-player%} or {tahta::%loop-player%} is not set:
            chance of 50%:
                set {_altin::%loop-player%} to true
                give a 283 named "&6&lAltın Kılıç" to loop-value
            if {_elmas::%loop-player%} or {_demir::%loop-player%} or {_altin::%loop-player%} or {tahta::%loop-player%} is not set:
            chance of 100%:
                set {_tahta::%loop-player%} to true
                give a 268 named "&f&lTahta Kılıç" to loop-value
            send "&c&lBaşlat &6&l> &aBaşarıyla herkese rastgele bir kılıç verildi!" to player
Denenmedi ama muhtemelen çalışır...
 

GreenPvPServer

YASAKLANDI
En iyi cevaplar
0
Kod:
command /başlat:
    permission: some.permission
    permission message: some permission message
    trigger:
        loop all players:
            if chance of 25%:
                give a wooden sword to loop-player
                send "tahta kılıç aldın"
            else if chance of 25%:
                give a stone sword to loop-player
                send "taş kılıç aldın"
            else if chance of 25%:
                give a iron sword to loop-player
                send "demir kılıç aldın"
            else:
                give a diamond sword to loop-player
                send "elmas kılıç aldın"
üstteki arkadaş destan yazmış. shit bir destan. hehe
 
Üst