yigitahasglm
Ağaç Yumruklayıcı
- En iyi cevaplar
- 0
Kod:
on sign change:
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
else:
set {fiyat.%line 2%} to line 3
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 paper named "&4%line 2 of clicked block%" with lore "&7Tıklarsan {fiyat.%line 2 of clicked block%} fiyatına %line 2 of clicked block% satarsin" to close then run "sell %line 2 of clicked block%"