Çözüldü Otomatik lapis blok satımı

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

ProfDarking

Somon Balığı Selam Vermeye Geldi
Katılım
21 Haziran 2015
Mesajlar
21
Elmaslar
3
Puan
0
Skript var fakat çalışmıyor bunun sorunu nedir bakabilir misiniz

YAML:
options:
    p: &aAlcatraz&fFaction &8»
    otolapisfiyat: 10000
    otolapisadet: 640
on quit:
    set {otosatlapis::%player%} to false
on join:
    while player is online:
        wait 1 second
        if {otosatlapis::%player%} is true:
            if player has {@otolapisadet} lapis_lazuli_block:
                remove {@otolapisadet} lapis_lazuli_block from player's inventory
                send "{@p} &f{@otolapisadet} &7adet &3lapis bloğu &f{@otolapisfiyat} TL&7'ye &7satılmıştır." to player
                add {@otolapisfiyat} to player's money
command /otosatayar [<Text>]:
    trigger:
        if arg 1 is set:
            if arg 1 is "lapis_lazuli_block":
                if {otosatlapis::%player%} is false:
                    send "{@p} &7Oto lapis satma &aaktif" to player
                    set {otosatlapis::%player%} to true
                else:
                    send "{@p} &7Oto lapis satma &cdevredışı" to player
                    set {otosatlapis::%player%} to false
command /otosat [<Text>]:
    trigger:
        if arg 1 is not set:
            open virtual chest with size 1 named "&6&lOTOSAT" to player
            wait 1 tick
            make gui slot 0 of player with lapis named "&9Lapis" with lore "" to nothing
            if {otosatlapis::%player%} is false:
                make gui slot 8 of player with gray dye named "&9Lapis" with lore "&7Durum: &cKapalı||&7Açmak için tıklayın." to close then run player command "otosatayar lapis"
            else:
                make gui slot 8 of player with light green dye named "&9Lapis" with lore "&7Durum: &aAçık||&7Kapatmak için tıklayın." to close then run player command "otosatayar lapis"
 
Kod:
options:
    p: &aAlcatraz&fFaction &8»
    otolapisblokfiyat: 1500
    otolapisblokadet: 64
quit:
    set {otosat::lapisblok::%player%} to false
join:
    while player is online:
        wait a second
        if {otosat::lapisblok::%player%} is true:
            if player has {@otolapisblokadet} lapis lazuli block:
                remove {@otolapisblokadet} lapis lazuli block from player's inventory
                send "{@p} &f{@otolapisblokadet} &7adet &9lapis blok &f{@otolapisblokfiyat} TL&7'ye &7satılmıştır."
                add {@otolapisblokfiyat} to player's money
command /otosat [<text>]:
    trigger:
        if arg-1 isn't set:
            open virtual chest with size 1 named "&6&lOTOSAT" to player
            wait a tick
            make gui slot 0 of player with lapis lazuli block named "&9Lapis" to nothing
            if {otosat::lapisblok::%player%} is false:
                make gui slot 8 of player with gray dye named "&9Lapis Blok" with lore "&7Durum: &cKapalı||&7Açmak için tıklayın." to close then run player command "otosat lapisblok"
            else:
                make gui slot 8 of player with light green dye named "&9Lapis Blok" with lore "&7Durum: &aAçık||&7Kapatmak için tıklayın." to close then run player command "otosat lapisblok"
        else:
            if arg-1 is "lapisblok":
                if {otosat::%arg-1%::%player%} is false:
                    send "{@p} &7Oto &f%arg-1% &7satma &aaktif"
                    set {otosat::%arg-1%::%player%} to true
                else:
                    send "{@p} &7Oto &f%arg-1% &7satma &cdevredışı"
                    set {otosat::%arg-1%::%player%} to false
 
Kod:
options:
    p: &aAlcatraz&fFaction &8»
    otolapisblokfiyat: 1500
    otolapisblokadet: 64
quit:
    set {otosat::lapisblok::%player%} to false
join:
    while player is online:
        wait a second
        if {otosat::lapisblok::%player%} is true:
            if player has {@otolapisblokadet} lapis lazuli block:
                remove {@otolapisblokadet} lapis lazuli block from player's inventory
                send "{@p} &f{@otolapisblokadet} &7adet &9lapis blok &f{@otolapisblokfiyat} TL&7'ye &7satılmıştır."
                add {@otolapisblokfiyat} to player's money
command /otosat [<text>]:
    trigger:
        if arg-1 isn't set:
            open virtual chest with size 1 named "&6&lOTOSAT" to player
            wait a tick
            make gui slot 0 of player with lapis lazuli block named "&9Lapis" to nothing
            if {otosat::lapisblok::%player%} is false:
                make gui slot 8 of player with gray dye named "&9Lapis Blok" with lore "&7Durum: &cKapalı||&7Açmak için tıklayın." to close then run player command "otosat lapisblok"
            else:
                make gui slot 8 of player with light green dye named "&9Lapis Blok" with lore "&7Durum: &aAçık||&7Kapatmak için tıklayın." to close then run player command "otosat lapisblok"
        else:
            if arg-1 is "lapisblok":
                if {otosat::%arg-1%::%player%} is false:
                    send "{@p} &7Oto &f%arg-1% &7satma &aaktif"
                    set {otosat::%arg-1%::%player%} to true
                else:
                    send "{@p} &7Oto &f%arg-1% &7satma &cdevredışı"
                    set {otosat::%arg-1%::%player%} to false
Hocam bu da çalışmıyor
 
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
Üst