Mrtol
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
İmkahansızı aşan tek adamsın sen adam ne kelime kralsın <3 :DÜ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
Buyurhocoam ç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
Önemli Değil + aşağıdaki kodu Diamond Block kodlarına ait olan yeri silip oraya yapıştırıp denermisin ?hocam çok teşekkür ederim çalıştı ancak elmas block satmıyor bir el atarsan mutlu olurum tekrardan teşekkür ederim
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
Mrtol
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ı?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ıyordenemedim 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
Mrtol dan önce attığım kodu denediniz mi ?hocam teşekkürler ancak elmas block satma çalışmıyor
hocam teşekkürler çalıştıMrtol dan önce attığım kodu denediniz mi ?
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!