Pardon Görmedim :)
Pardon Bakamadım Sorun Şu Olabilir:Şuanki sorunum
command /alitem <text>:
trigger:
if {alimfiyat.%arg 1%} is not set:
send "&6Bu urune bir fiyat bicilmemis."
else:
if player balance is equal to {fiyat.
execute console command "/give %player% %arg 1%"
execute console command "/money take %player% {fiyat.%arg 1%"
command /satitem <text>:
trigger:
if {satisfiyat.%arg 1%} is not set:
send "&6Bu urune bir fiyat bicilmemis."
else:
execute console command "/give %player% %arg 1%"
execute console command "/money take %player% {fiyat.%arg 1%"
command /alimfiyatibelirle <text> <int>:
trigger:
set {alimfiyat.%arg 1%} to arg-2
send "&6Bu urunun fiyatini basariyla guncelledin."
command /satisfiyatibelirle <text> <int>:
trigger:
set {satisfiyat.%arg 1%} to arg-2
send "&6Bu urunun fiyatini basariyla guncelledin."
/alitem komutuyla item veriliyor fakat parayı almıyor. Remove from player balance de denedim yine olmadı bu geçerli bir integar değil dedi
mudlusamoi#5646
command /alitem <text>:
trigger:
if {alimfiyat.%arg 1%} is not set:
send "&6Bu urune bir fiyat bicilmemis."
else:
if player's balance is greater than or equal to {alimfiyat.%arg 1%}:
execute console command "/give %player% %arg 1%"
execute console command "/money take %player% {alimfiyat.%arg 1%}"
command /satitem <text>:
trigger:
if {satisfiyat.%arg 1%} is not set:
send "&6Bu urune bir fiyat bicilmemis."
else:
execute console command "/give %player% %arg 1%"
execute console command "/money take %player% {satisfiyat.%arg 1%}"
command /alimfiyatibelirle <text> <int>:
trigger:
set {alimfiyat.%arg 1%} to arg-2
send "&6Bu urunun fiyatini basariyla guncelledin."
command /satisfiyatibelirle <text> <int>:
trigger:
set {satisfiyat.%arg 1%} to arg-2
send "&6Bu urunun fiyatini basariyla guncelledin."
on sign change: #Tabela birinci satırına market 2. satırına item id 3. satırına fiyat yazılacak. Sağ tıklayıncada alım menüsü ayarlayacaktım alitem komutunu özellikle şu yüzden yaptım tabelaya sağ tıklayınca alma sol tıklayınca satma menüsü açılacak ve ilk slotta 64 tane al / sat olacak 2. sinde 32 4. sünde 16 6. sında 8 8. sinde 4 tane diye seçenekleri olcak. Kullanıcılar için büyük kolaylık olacak fakat hatayı çözemediğim için gerisini yapmadım
line 1 is "market":
player is op:
set line 1 to "&3&l&k==========="
set line 2 to "%Line 2%"
set line 4 to "&3&l&k==========="
if {fiyat.%line 2%} is set:
set {fiyat.%line 2%} to line 3
set {%line 2%} to line 2
else:
set {fiyat.%line 2%} to line 3
set {%line 2%} to line 2
on leftclick on a sign:
line 1 of clicked block is "&3&l&k===========":
open chest with 1 rows named "&4Sat" to player
wait 1 tick
{muhur.%player%} isn't set:
format slot 5 of player with emerald named "&6Market &3Muhru" with lore "&fMarket muhrun yok! 10k ya almak icin tikla!" to close then run "marketmuhru"
else:
format slot 0 of player with 64 of (line 2 of clicked block parsed as item) "&4%line 2 of clicked block%" with lore "&7Tıklarsan 64 tane %line 2 of clicked block% alirsin" to close then run "telefon hesap %player%"
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!