[İstek] Yardımcı Olabilirseniz Sevinirim -->

Ozi Başkan

Zombi Katili
En iyi cevaplar
0
Merhaba Arkadaşlar
Oyuncu 1 saat oyunda kaldıgında otomatik envanterine (Online Hediyen) diye chestden kutu gelsin
bu kutudan 3 elmas 3 altın veya 3 demir veya 3 zümrüt çıksın
Fazla bilgim olmadıgı için ben yapamıyorum Ögretmek isteyen olursada eklesin skype--> deepfreeze447

Yapıcak olan arkadaşa şimdiden Teşekkürler..
 

SnKaan

Elmas Madencisi
En iyi cevaplar
0
/hediyesuresi -> Hediye alinacak Sureyi Gosterir.

Kod:
on login:
    if {oyuncusure.%player%} is not set:
        set {oyuncusure.%player%} to 60

every 1 minute:
    loop players:
        remove 1 from {oyuncusure.%loop-player%}
        if {oyuncusure.%loop-player%} is 0:
            give 1 chest named "&6Online Hediyen!" to loop-player
            set {oyuncusure.%loop-player%} to 60
            send "&aOnline Hediye Kutusu Kazandin." to loop-player

on rightclick with chest:
    if player is holding a chest named "&6Online Hediyen!":
        remove 1 chest named "&6Online Hediyen!" from the player
        give 3 iron ingot to player
        give 3 diamond to player
        give 3 emerald to player
        give 3 gold ingot to player
        send "&a3 Demir,Altin,Zumrut,Elmas Kazandin!" to player
        stop
          
command /hediyesuresi:
    trigger:
        send "&aOnline Hediye Kutusu Almana &f%{oyuncusure.%player%}% &aDakika Kaldi." to player
        stop
 

Ozi Başkan

Zombi Katili
En iyi cevaplar
0
/hediyesuresi -> Hediye alinacak Sureyi Gosterir.

Kod:
on login:
    if {oyuncusure.%player%} is not set:
        set {oyuncusure.%player%} to 60

every 1 minute:
    loop players:
        remove 1 from {oyuncusure.%loop-player%}
        if {oyuncusure.%loop-player%} is 0:
            give 1 chest named "&6Online Hediyen!" to loop-player
            set {oyuncusure.%loop-player%} to 60
            send "&aOnline Hediye Kutusu Kazandin." to loop-player

on rightclick with chest:
    if player is holding a chest named "&6Online Hediyen!":
        remove 1 chest named "&6Online Hediyen!" from the player
        give 3 iron ingot to player
        give 3 diamond to player
        give 3 emerald to player
        give 3 gold ingot to player
        send "&a3 Demir,Altin,Zumrut,Elmas Kazandin!" to player
        stop
         
command /hediyesuresi:
    trigger:
        send "&aOnline Hediye Kutusu Almana &f%{oyuncusure.%player%}% &aDakika Kaldi." to player
        stop
Çok Güzel eline yüregini sağlık ama heralde benim hatam bunlardan biri Çıkacak yani sadece elmas yada zümrüt veya iron yani öyle düşün 1 tanesini vercek çünkü survival düzeltebilirmisiniz rica etsem
 

SnKaan

Elmas Madencisi
En iyi cevaplar
0
Çok Güzel eline yüregini sağlık ama heralde benim hatam bunlardan biri Çıkacak yani sadece elmas yada zümrüt veya iron yani öyle düşün 1 tanesini vercek çünkü survival düzeltebilirmisiniz rica etsem

Şansları sen ayarlarsın :)
if chance of 10%: ---> %10 ihtimalle demek yükseltirsen çıkma olasılığı artar iyi forumlar :) Hepsi eşit şansla çıksın istiyorsan söylersin yine :) Demire şans koymadım çünkü altın,elmas,zümrüt çıkmazsa %100 demir vermesini istersin diye düşündüm :)
Kod:
on login:
    if {oyuncusure.%player%} is not set:
        set {oyuncusure.%player%} to 60

every 1 minute:
    loop players:
        remove 1 from {oyuncusure.%loop-player%}
        if {oyuncusure.%loop-player%} is 0:
            give 1 chest named "&6Online Hediyen!" to loop-player
            set {oyuncusure.%loop-player%} to 60
            send "&aOnline Hediye Kutusu Kazandin." to loop-player

on rightclick with chest:
    if player is holding a chest named "&6Online Hediyen!":
        remove 1 chest named "&6Online Hediyen!" from the player
        if chance of 10%:
            give 3 diamond to player
            send "&a3 Elmas Kazandin!" to player
            stop
        if chance of 20%:
            give 3 emerald to player
            send "&a3 Zumrut Kazandin!" to player
            stop
        if chance of 30%:
            give 3 gold ingot to player
            send "&a3 Altin Kazandin!" to player
            stop
        give 3 iron ingot to player
        send "&a3 Demir Kazandin!" to player
        stop
         
command /hediyesuresi:
    trigger:
        send "&aOnline Hediye Kutusu Almana &f%{oyuncusure.%player%}% &aDakika Kaldi." to player
        stop
 

Ozi Başkan

Zombi Katili
En iyi cevaplar
0
Şansları sen ayarlarsın :)
if chance of 10%: ---> %10 ihtimalle demek yükseltirsen çıkma olasılığı artar iyi forumlar :) Hepsi eşit şansla çıksın istiyorsan söylersin yine :) Demire şans koymadım çünkü altın,elmas,zümrüt çıkmazsa %100 demir vermesini istersin diye düşündüm :)
Kod:
on login:
    if {oyuncusure.%player%} is not set:
        set {oyuncusure.%player%} to 60

every 1 minute:
    loop players:
        remove 1 from {oyuncusure.%loop-player%}
        if {oyuncusure.%loop-player%} is 0:
            give 1 chest named "&6Online Hediyen!" to loop-player
            set {oyuncusure.%loop-player%} to 60
            send "&aOnline Hediye Kutusu Kazandin." to loop-player

on rightclick with chest:
    if player is holding a chest named "&6Online Hediyen!":
        remove 1 chest named "&6Online Hediyen!" from the player
        if chance of 10%:
            give 3 diamond to player
            send "&a3 Elmas Kazandin!" to player
            stop
        if chance of 20%:
            give 3 emerald to player
            send "&a3 Zumrut Kazandin!" to player
            stop
        if chance of 30%:
            give 3 gold ingot to player
            send "&a3 Altin Kazandin!" to player
            stop
        give 3 iron ingot to player
        send "&a3 Demir Kazandin!" to player
        stop
       
command /hediyesuresi:
    trigger:
        send "&aOnline Hediye Kutusu Almana &f%{oyuncusure.%player%}% &aDakika Kaldi." to player
        stop
YANLIZ Bİ PROBLEM VAR HACI her şey İYİ GÜZELDE HEDİYESÜRESİ yazdıgımda almana <none> kaldı dior ?
Hemde Reis 30 dk kada bir versin yaw bi el atsan sevinirim
 

Mulfucer

Kızıltaş Madencisi
En iyi cevaplar
0
bunu illa skript ile yapmak zorunda değilsin sanırım ufak bir işlem ile redstonelada yapılabilir.
 

SnKaan

Elmas Madencisi
En iyi cevaplar
0
30 yazan yerleri değiştirirsen süreyi değiştirebilirsin.30 yazan yerleri değiştirirsen süreyideğiştirebilirsin.


YANLIZ Bİ PROBLEM VAR HACI her şey İYİ GÜZELDE HEDİYESÜRESİ yazdıgımda almana <none> kaldı dior ?
Hemde Reis 30 dk kada bir versin yaw bi el atsan sevinirim
oyundan cık gir olcaktır. :)[DOUBLEPOST=1434494636,1434494598][/DOUBLEPOST]
Kod:
on login:
    if {oyuncusure.%player%} is not set:
        set {oyuncusure.%player%} to 30

every 1 minute:
    loop players:
        remove 1 from {oyuncusure.%loop-player%}
        if {oyuncusure.%loop-player%} is 0:
            give 1 chest named "&6Online Hediyen!" to loop-player
            set {oyuncusure.%loop-player%} to 30
            send "&aOnline Hediye Kutusu Kazandin." to loop-player

on rightclick with chest:
    if player is holding a chest named "&6Online Hediyen!":
        remove 1 chest named "&6Online Hediyen!" from the player
        if chance of 10%:
            give 3 diamond to player
            send "&a3 Elmas Kazandin!" to player
            stop
        if chance of 20%:
            give 3 emerald to player
            send "&a3 Zumrut Kazandin!" to player
            stop
        if chance of 30%:
            give 3 gold ingot to player
            send "&a3 Altin Kazandin!" to player
            stop
        give 3 iron ingot to player
        send "&a3 Demir Kazandin!" to player
        stop
        
command /hediyesuresi:
    trigger:
        send "&aOnline Hediye Kutusu Almana &f%{oyuncusure.%player%}% &aDakika Kaldi." to player
        stop
 
Üst