T
TanerTekin
Ziyaretçi
command /level:
trigger:
if player's money is greater than or equal to 100000:
remove 100000 from player's money
add 150 to player's level
broadcast "&cMC-TR &8» &7%player% &aAdlı Oyuncu 100K Karşılığında 150 Level Aldı!"
Menulü Yaparmısın?Dener misin?Kod:command /level: trigger: if player's money is greater than or equal to 100000: remove 100000 from player's money add 150 to player's level broadcast "&cMC-TR &8» &7%player% &aAdlı Oyuncu 100K Karşılığında 150 Level Aldı!"
Nasıl bir menü istiyorsunuz?Menulü Yaparmısın?
variables:
{fiyat10} = 1
{fiyat25} = 10
{fiyat50} = 100
{fiyat75} = 1000
{fiyat100} = 10000
{fiyat125} = 100000
{fiyat150} = 1000000
{fiyat175} = 10000000
{fiyat200} = 100000000
command /level [<int>]:
trigger:
arg 1 is not set:
open chest with 1 rows named "&a» &bLevel Satın AL &a«" to player
format slot 0 of player with bottle named "&a»10 Level &a«" with lore "&7&m-----------------------||&bSatın Almak İçin Tıkla|| &cFiyat: &e%{fiyat10}%||&7&m-----------------------||" to close then run [execute player command "level 10"]
format slot 1 of player with bottle named "&a»25 Level &a«" with lore "&7&m-----------------------||&bSatın Almak İçin Tıkla|| &cFiyat: &e%{fiyat25}%||&7&m-----------------------||" to close then run [execute player command "level 50"]
format slot 2 of player with bottle named "&a»50 Level &a«" with lore "&7&m-----------------------||&bSatın Almak İçin Tıkla|| &cFiyat: &e%{fiyat50}%||&7&m-----------------------||" to close then run [execute player command "level 75"]
format slot 3 of player with bottle named "&a»100 Level &a«" with lore "&7&m-----------------------||&bSatın Almak İçin Tıkla|| &cFiyat: &e%{fiyat100}%||&7&m-----------------------||" to close then run [execute player command "level 100"]
format slot 4 of player with red stained glass pane named " " with lore " " to be unstealable
format slot 5 of player with bottle named "&a»125 Level &a«" with lore "&7&m-----------------------||&bSatın Almak İçin Tıkla|| &cFiyat: &e%{fiyat125}%||&7&m-----------------------||" to close then run [execute player command "level 125"]
format slot 6 of player with bottle named "&a»150 Level &a«" with lore "&7&m-----------------------||&bSatın Almak İçin Tıkla|| &cFiyat: &e%{fiyat150}%||&7&m-----------------------||" to close then run [execute player command "level 150"]
format slot 7 of player with bottle named "&a»175 Level &a«" with lore "&7&m-----------------------||&bSatın Almak İçin Tıkla|| &cFiyat: &e%{fiyat175}%||&7&m-----------------------||" to close then run [execute player command "level 175"]
format slot 8 of player with bottle named "&a»200 Level &a«" with lore "&7&m-----------------------||&bSatın Almak İçin Tıkla|| &cFiyat: &e%{fiyat200}%||&7&m-----------------------||" to close then run [execute player command "level 200"]
else:
if player's balance is greater than or equal to {fiyat%arg-1%}:
execute console command "eco take %player% %{fiyat%arg-1%}%"
add arg-1 to player's level
send "&bBaşarılır"
Hatayı atarsan yardımcı olabilirizarkadaşlar 2 side 1 hata veriyor ne yapmam gerekli?