Bulundu Sandık Satar

  • Konuyu Başlatan Konuyu Başlatan Obilux
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 5.176
  • Etiketler Etiketler
    iyi f
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
post kasmak için konut kilit yazmana gerek yok göründüğü gibi çözülmedi[DOUBLEPOST=1515846179,1515836185][/DOUBLEPOST]up
 
Kod:
on left click with diamond hoe:
    if name of player's tool is "Demir Satma Çapası":
        if clicked block is a chest:
            if amount of iron ingot in clicked block is greater than 0:
                add (amount of iron ingot in clicked block * 469) to player's money
                send "&a&l%amount of iron ingot in clicked block% &c&lDemir Satıldı. &f&lKar: &e&l%(amount of iron ingot in clicked block * 469)%" to player
                remove every iron ingots from clicked block 
            else:
                send "&c&lDemir yok!"[CODE]

@blueyescat'a aittir
 
teşekkürler en kısa sürede deniyecem
 
Ücretsiz İçerik Yapmıyorum Fakat Benden Bi İçerik Aldığında Hatırlat Hediye Olarak Yaparım :)
Kusura Bakma Ücretsiz Yapıp Sadece Sana Verirsem Olmaz Ve Aldığım Bi Karar Dolayısıyla Yapmıyorum
İmkahansızı aşan tek adamsın sen adam ne kelime kralsın <3 :D
 
hocoam çok teşekkürler çalıştı ancak ben kendime göre edit yaptım çalışmadı düzeltirseniz sevinirim buyrun:
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.

Tekrardan Teşekkürler
 
hocoam çok teşekkürler çalıştı ancak ben kendime göre edit yaptım çalışmadı düzeltirseniz sevinirim buyrun:
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.

Tekrardan Teşekkürler
Buyur
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.

Sıkıntı olursa haber ver bidaha göz atayım 0 Error.
,/klanorsabi yazınca Sandık Satar itemi verilicektir,emeğe saygı çalıştıysa rep + beğeni esirgemeyelim :D
 
Son düzenleme:
hocam çok teşekkür ederim çalıştı ancak elmas block satmıyor bir el atarsan mutlu olurum tekrardan teşekkür ederim
 
hocam çok teşekkür ederim çalıştı ancak elmas block satmıyor bir el atarsan mutlu olurum tekrardan teşekkür ederim
Önemli Değil + aşağıdaki kodu Diamond Block kodlarına ait olan yeri silip oraya yapıştırıp denermisin ?

Kod:
on right click with diamond hoe:
    if name of player's tool is "&f&lSandik &4&lSatar":
        if clicked block is a chest:
            if amount of diamond block in clicked block is greater than 0:
                add (amount of diamond block in clicked block * 4050) to player's money
                send "&a&l%amount of diamond block in clicked block% &c&lDiamond Blok Satıldı &f&lKazanç: &e&l%(amount of diamond block in clicked block * 469)%" to player
                remove every diamond blocks from clicked block
 
denemedim fakat kodu gereksiz uzatmışsınız çalışmaz ise yazarsınız:
Kod:
command /klanorsabi:
    permission: console.sk
    trigger:
        give 1 diamond hoe named "&f&lSandik &4&lSatar" to player


on right click with diamond hoe:
    if name of player's tool is "&f&lSandik &4&lSatar":
        if clicked block is a chest:
            if amount of iron ingot in clicked block is greater than 0:
                add (amount of iron ingot in clicked block * 150) to player's money
                send "&a&l%amount of iron ingot in clicked block% &c&lDemir Satıldı &f&lKazanç: &e&l%(amount of iron ingot in clicked block * 469)%" to player
                remove every iron ingots from clicked block
            else if amount of iron block in clicked block is greater than 0:
                add (amount of iron block in clicked block * 1350) to player's money
                send "&a&l%amount of iron block in clicked block% &c&lDemir Blok Satıldı &f&lKazanç: &e&l%(amount of iron block in clicked block * 469)%" to player
                remove every iron blocks from clicked block
            else if amount of gold ingot in clicked block is greater than 0:
                add (amount of gold ingot in clicked block * 300) to player's money
                send "&a&l%amount of gold ingot in clicked block% &c&lGold Satıldı &f&lKazanç: &e&l%(amount of gold ingot in clicked block * 469)%" to player
                remove every gold ingots from clicked block               
            else if amount of gold block in clicked block is greater than 0:
                add (amount of gold block in clicked block * 2700) to player's money
                send "&a&l%amount of gold block in clicked block% &c&lGold Blok Satıldı &f&lKazanç: &e&l%(amount of gold block in clicked block * 469)%" to player
                remove every gold blocks from clicked block               
            else if amount of emerald in clicked block is greater than 0:
                add (amount of emerald in clicked block * 450) to player's money
                send "&a&l%amount of emerald in clicked block% &c&lEmerald Satıldı &f&lKazanç: &e&l%(amount of emerald in clicked block * 469)%" to player
                remove every emeralds from clicked block               
            else if amount of emerald block in clicked block is greater than 0:
                add (amount of emerald block in clicked block * 4050) to player's money
                send "&a&l%amount of emerald block in clicked block% &c&lEmerald Blok Satıldı &f&lKazanç: &e&l%(amount of emerald block in clicked block * 469)%" to player
                remove every emerald blocks from clicked block
            else if amount of diamond in clicked block is greater than 0:
                add (amount of diamond in clicked block * 600) to player's money
                send "&a&l%amount of diamond in clicked block% &c&lDia Satıldı &f&lKazanç: &e&l%(amount of diamond in clicked block * 469)%" to player
                remove every diamonds from clicked block
            else if amount of diamond in clicked block is greater than 0:
                add (amount of diamond block in clicked block * 600) to player's money
                send "&a&l%amount of diamond block in clicked block% &c&lDia Blok Satıldı &f&lKazanç: &e&l%(amount of diamond block in clicked block * 469)%" to player
                remove every diamond blocks from clicked block
 
denemedim fakat kodu gereksiz uzatmışsınız çalışmaz ise yazarsınız:
Kod:
command /klanorsabi:
    permission: console.sk
    trigger:
        give 1 diamond hoe named "&f&lSandik &4&lSatar" to player


on right click with diamond hoe:
    if name of player's tool is "&f&lSandik &4&lSatar":
        if clicked block is a chest:
            if amount of iron ingot in clicked block is greater than 0:
                add (amount of iron ingot in clicked block * 150) to player's money
                send "&a&l%amount of iron ingot in clicked block% &c&lDemir Satıldı &f&lKazanç: &e&l%(amount of iron ingot in clicked block * 469)%" to player
                remove every iron ingots from clicked block
            else if amount of iron block in clicked block is greater than 0:
                add (amount of iron block in clicked block * 1350) to player's money
                send "&a&l%amount of iron block in clicked block% &c&lDemir Blok Satıldı &f&lKazanç: &e&l%(amount of iron block in clicked block * 469)%" to player
                remove every iron blocks from clicked block
            else if amount of gold ingot in clicked block is greater than 0:
                add (amount of gold ingot in clicked block * 300) to player's money
                send "&a&l%amount of gold ingot in clicked block% &c&lGold Satıldı &f&lKazanç: &e&l%(amount of gold ingot in clicked block * 469)%" to player
                remove every gold ingots from clicked block              
            else if amount of gold block in clicked block is greater than 0:
                add (amount of gold block in clicked block * 2700) to player's money
                send "&a&l%amount of gold block in clicked block% &c&lGold Blok Satıldı &f&lKazanç: &e&l%(amount of gold block in clicked block * 469)%" to player
                remove every gold blocks from clicked block              
            else if amount of emerald in clicked block is greater than 0:
                add (amount of emerald in clicked block * 450) to player's money
                send "&a&l%amount of emerald in clicked block% &c&lEmerald Satıldı &f&lKazanç: &e&l%(amount of emerald in clicked block * 469)%" to player
                remove every emeralds from clicked block              
            else if amount of emerald block in clicked block is greater than 0:
                add (amount of emerald block in clicked block * 4050) to player's money
                send "&a&l%amount of emerald block in clicked block% &c&lEmerald Blok Satıldı &f&lKazanç: &e&l%(amount of emerald block in clicked block * 469)%" to player
                remove every emerald blocks from clicked block
            else if amount of diamond in clicked block is greater than 0:
                add (amount of diamond in clicked block * 600) to player's money
                send "&a&l%amount of diamond in clicked block% &c&lDia Satıldı &f&lKazanç: &e&l%(amount of diamond in clicked block * 469)%" to player
                remove every diamonds from clicked block
            else if amount of diamond in clicked block is greater than 0:
                add (amount of diamond block in clicked block * 600) to player's money
                send "&a&l%amount of diamond block in clicked block% &c&lDia Blok Satıldı &f&lKazanç: &e&l%(amount of diamond block in clicked block * 469)%" to player
                remove every diamond blocks from clicked block
Diamond blok kısmının çalışmadığını söylemiş,bir üstte ki yani benim verdiğimi bu kodun içerisine ekleme imkanın var mı?
 
benim kod ile sizin kodun arasında fark göremedim sıkıntı olursa yazarsınız
 
denemedim fakat kodu gereksiz uzatmışsınız çalışmaz ise yazarsınız:
Kod:
command /klanorsabi:
    permission: console.sk
    trigger:
        give 1 diamond hoe named "&f&lSandik &4&lSatar" to player


on right click with diamond hoe:
    if name of player's tool is "&f&lSandik &4&lSatar":
        if clicked block is a chest:
            if amount of iron ingot in clicked block is greater than 0:
                add (amount of iron ingot in clicked block * 150) to player's money
                send "&a&l%amount of iron ingot in clicked block% &c&lDemir Satıldı &f&lKazanç: &e&l%(amount of iron ingot in clicked block * 469)%" to player
                remove every iron ingots from clicked block
            else if amount of iron block in clicked block is greater than 0:
                add (amount of iron block in clicked block * 1350) to player's money
                send "&a&l%amount of iron block in clicked block% &c&lDemir Blok Satıldı &f&lKazanç: &e&l%(amount of iron block in clicked block * 469)%" to player
                remove every iron blocks from clicked block
            else if amount of gold ingot in clicked block is greater than 0:
                add (amount of gold ingot in clicked block * 300) to player's money
                send "&a&l%amount of gold ingot in clicked block% &c&lGold Satıldı &f&lKazanç: &e&l%(amount of gold ingot in clicked block * 469)%" to player
                remove every gold ingots from clicked block              
            else if amount of gold block in clicked block is greater than 0:
                add (amount of gold block in clicked block * 2700) to player's money
                send "&a&l%amount of gold block in clicked block% &c&lGold Blok Satıldı &f&lKazanç: &e&l%(amount of gold block in clicked block * 469)%" to player
                remove every gold blocks from clicked block              
            else if amount of emerald in clicked block is greater than 0:
                add (amount of emerald in clicked block * 450) to player's money
                send "&a&l%amount of emerald in clicked block% &c&lEmerald Satıldı &f&lKazanç: &e&l%(amount of emerald in clicked block * 469)%" to player
                remove every emeralds from clicked block              
            else if amount of emerald block in clicked block is greater than 0:
                add (amount of emerald block in clicked block * 4050) to player's money
                send "&a&l%amount of emerald block in clicked block% &c&lEmerald Blok Satıldı &f&lKazanç: &e&l%(amount of emerald block in clicked block * 469)%" to player
                remove every emerald blocks from clicked block
            else if amount of diamond in clicked block is greater than 0:
                add (amount of diamond in clicked block * 600) to player's money
                send "&a&l%amount of diamond in clicked block% &c&lDia Satıldı &f&lKazanç: &e&l%(amount of diamond in clicked block * 469)%" to player
                remove every diamonds from clicked block
            else if amount of diamond in clicked block is greater than 0:
                add (amount of diamond block in clicked block * 600) to player's money
                send "&a&l%amount of diamond block in clicked block% &c&lDia Blok Satıldı &f&lKazanç: &e&l%(amount of diamond block in clicked block * 469)%" to player
                remove every diamond blocks from clicked block
hocam teşekkürler ancak elmas block satma çalışmıyor
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst