OtoSatış

  • Konuyu Başlatan Konuyu Başlatan Emre060702
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 600
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Emre060702

Fırında Isıttığım İlk Taş
Katılım
26 Ağustos 2016
Mesajlar
76
Elmaslar
16
Puan
0
Yaş
27
Minecraft
EmreKral
Merhaba Arkadaşlar Sunucumda Bir Oyuncunun Envanterinde 640tane demir olunca oto satmasını istiyorum faka oyuncular bunu blok kırmadan satacaklar.
 
Son düzenleme:
Buyur.
Kod:
# Gerekli eklentiler: skRayFall

on unstore:
	if player has 640 of iron ingot:
		if {oto.satis::%player%} is true:
			remove 640 of iron ingot from player
			add 1000 to player's balance
			send " &f> &a640 adet demir 1.000TL karşılığında otomatik olarak satıldı!"

on pickup:
	if player has 640 of iron ingot:
		if {oto.satis::%player%} is true:
			remove 640 of iron ingot from player
			add 1000 to player's balance
			send " &f> &a640 adet demir 1.000TL karşılığında otomatik olarak satıldı!"

on inventory click:
	if player has 640 iron ingot:
		if {oto.satis::%player%} is true:
			remove 640 iron ingot from player
			add 1000 to player's balance
			send " &f> &a640 adet demir 1.000TL karşılığında otomatik olarak satıldı!"

command /otosat:
	aliases: otosatis, otosatış
	trigger:
		if {oto.satis::%player%} is not set:
			set {oto.satis::%player%} to false
		if {oto.satis::%player%} is true:
			set {oto.satis::%player%} to false
			send " &f> &aOto. satış devre dışı bırakıldı!"
		else if {oto.satis::%player%} is false:
			set {oto.satis::%player%} to true
			send " &f> &aOto. satış aktif edildi!"
 
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