[ Acil ] Skriptten Anlıyosan Bi Bak [ Acil ]

Andromurat

Zombi Katili
En iyi cevaplar
0
PHP:
command /rulet:
    trigger:
        execute console command "/money take %player% 30000"
        chance of 25%:
            give a diamond to the player
            send "&4&l[Rulet] &2Rulette elmas kazandın!"
            stop trigger
        chance of 25%:
            kill player
            send "&4&l[Rulet] &2Rulette vefat ettin :)"
            stop trigger
        chance of 25%:
            give a log to the player
            send "&4&l[Rulet] &2Rulet oynadın ve odun kazandın :D"
            stop trigger
        chance of 25%:
            give a stick to the player
            send "&4&l[Rulet] &2Rulet sonucu çubuk kazandın :P"
            stop trigger

Böylede Olabilirmi ?
 

Avioteto

Zombi Katili
En iyi cevaplar
0
PHP:
command /rulet:
    trigger:
        remove 30000$ from the player's balance
        chance of 25%:
            give a diamond to the player
            send "&4&l[Rulet] &2Rulette elmas kazandın!"
            stop trigger
        chance of 25%:
            kill player
            send "&4&l[Rulet] &2Rulette vefat ettin :)"
            stop trigger
        chance of 25%:
            give a log to the player
            send "&4&l[Rulet] &2Rulet oynadın ve odun kazandın :D"
            stop trigger
        chance of 25%:
            give a stick to the player
            send "&4&l[Rulet] &2Rulet sonucu çubuk kazandın :P"
            stop trigger
böyleolunca parası yokkende 30 k çekmeye çalıscak çekemeyecek koda devam edicek .
if player's balance is bigger than 30000:
de olması gerekmiyomu
 

Krumb069

Nether Yerlisi
En iyi cevaplar
1
Kod:
command /rulet:
    trigger:
        if player's balance is greater than 29999:
            remove 30000$ from the player's balance
            chance of 25%:
                give a diamond to the player
                send "&4&l[Rulet] &2Rulette elmas kazandın!"
                stop trigger
            chance of 25%:
                kill player
                send "&4&l[Rulet] &2Rulette vefat ettin :)"
                stop trigger
            chance of 25%:
                give a log to the player
                send "&4&l[Rulet] &2Rulet oynadın ve odun kazandın :D"
                stop trigger
            chance of 25%:
                give a stick to the player
                send "&4&l[Rulet] &2Rulet sonucu çubuk kazandın :P"
                stop trigger
        else:
            send "&6&lYeterli Bakiyen yok !"

Yaw NAsıl Olcak :D Şu Kodu Doğru Düzgün Yazın Lütfen :D
var işte doğrusu bu
 
Üst