Sol Reklam
Sağ Reklam

Çözüldü Parakutusu sorunu

Krito

Odunlara Vur Vur Vur!
Katılım
14 Mart 2017
Mesajlar
47
Elmaslar
1
Puanlar
0
Yaş
44
command /narinkutu:
permission: para.kutu
trigger:
set {para.%player%} to 16 chest named "&eNarin Kutu"
give {para.%player%} to player
on rightclick holding a chest:
if tool's name is "&eNarin Kutu":
cancel event
remove 1 chest named "&eNarin Kutu" from player's inventory
chance of 60%:
add 1750000 to the player's account
message "&7&l» &9&l1M750K"
stop
chance of 55%:
add 2750000 to the player's account
message "&7&l» &e&l2M750K"
stop
chance of 50%:
add 5000000 to the player's account
message "&7&l» &5&l5M250K"
stop
chance of 45%:
add 7500000 to the player's account
message "&7&l» &a&l7M800K"
stop
chance of 35%:
add 20000000 to the player's account
message "&7&l» &c&l20M"
stop
chance of :
add 40000000 to the player's account
message "&7&l» &6&l40M"
stop
[23:09:49] [Server thread/ERROR]: indentation error: expected 12 spaces, but found 2 tabs (narinkutu.sk, line 30: chance of 20%:')
[23:09:49] [Server thread/ERROR]: indentation error: expected 12 spaces, but found 2 tabs (narinkutu.sk, line 30: chance of 20%:')
[23:09:49] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m [0;31;22mEncountered 2 errors while reloading [0;33;22mnarinkutu.sk[m![m

Neden böyle hata veriyor ?
 

Alpho320

powered by Fabulous.

Discord:

Alpho320#9202

Katılım
20 Haziran 2018
Mesajlar
1.396
Elmaslar
1.285
Puanlar
17.175
Yer
Istanbul
Minecraft
Alpho320
Buyur;
Kod:
command /narinkutu:
    permission: para.kutu
    trigger:
        set {para.%player%} to 16 chest named "&eNarin Kutu"
        give {para.%player%} to player
        
on rightclick holding a chest:
    if tool's name is "&eNarin Kutu":
        cancel event
        remove 1 chest named "&eNarin Kutu" from player's inventory
        chance of 60%:
            add 1750000 to the player's account
            message "&7&l» &9&l1M750K"
            stop
        chance of 55%:
            add 2750000 to the player's account
            message "&7&l» &e&l2M750K"
            stop
        chance of 50%:
            add    5000000 to the player's account
            message "&7&l» &5&l5M250K"
            stop
        chance of 45%:
            add 7500000 to the player's account
            message "&7&l» &a&l7M800K"
            stop
        chance of 35%:
            add 20000000 to the player's account
            message "&7&l» &c&l20M"
            stop
        chance of 25:
            add 40000000 to the player's account
            message "&7&l» &6&l40M"
            stop
 

kingOf0

"~SimitSu"

Discord:

kingOf0!#4055

Katılım
14 Haziran 2016
Mesajlar
998
Elmaslar
746
Puanlar
15.070
Yer
getPlayer("SimitSu").getLocation()
Minecraft
SimitSu
Kod:
on rightclick holding a chest:
    if tool's name is "&eNarin Kutu":
        cancel event
        remove 1 chest named "&eNarin Kutu" from player's inventory
        set {_x} to random integer between 0 and 100#0 ila 100 arasında bir değişken oluştur.
        if {_x} is between 60 and 100:#eğer değişken 60-100 arasında ise aşşağıdakini yap
            add 1750000 to the player's account
            message "&7&l» &9&l1M750K"
        if {_x} is between 50 and 59:#eğer 50 ve 59 arasında ise aşşağıdakileri yap
            add 2750000 to the player's account
            message "&7&l» &e&l2M750K" 
        if {_x} is between 45 and 49:
            add    5000000 to the player's account
            message "&7&l» &5&l5M250K"       
        if {_x} is between 35 and 44:
            add 7500000 to the player's account
            message "&7&l» &a&l7M800K" 
        if {_x} is between 25 and 34:
            add 20000000 to the player's account
            message "&7&l» &c&l20M"
        if {_x} is between 0 and 24:
            add 40000000 to the player's account
            message "&7&l» &6&l40M"
Böyle kullanmak daha mantıklı.
 
Neden altınlarını Discord sunucumuzda kazmıyorsun? TIKLA VE KATIL!
Yukarı