Sol Reklam
Sağ Reklam

Çözüldü Otosat skripti yardım!

Durum
Mesaj gönderimine kapalı.

Sanane88

Koydum Çalışma Masasını
Katılım
3 Ocak 2016
Mesajlar
65
Elmaslar
22
Puanlar
0
Yaş
24
Kod:
options:
    p: &2&lLIVE &8»
    otolapisfiyat: 1500
    otolapisadet: 64
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:
                remove {@otolapisadet} lapis from player's inventory
                send "{@p} &f{@otolapisadet} &7adet &3lapis &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":
                if {otosatlapis::%player%} is false:
                    send "{@p} &7Oto lapis satma &aaktif" to player
                    set {otosatlapis::%player%} to true
                else:
                    send "{@p} &7Oto lapis satma &cdevre dışı" 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"

ARKADAŞLAR BU SKRİPTTE OTOSAT MENÜSÜ AÇILIYOR AMA OTOSAT AÇMA VE KAPAMA İŞLEMİ TIKLAYINCA GERÇEKLEŞMİYOR. SADECE OP OYUNCULAR TIKLAYINCA KOMUT GERÇEKLEŞİYOR. LÜTFEN YARDIM EDİN.
 

Avelis

Ruh + Kum = Ruh Kumu
Katılım
24 Ağustos 2019
Mesajlar
1.302
Elmaslar
837
Puanlar
9.875
Selam, yetki yetki vermeniz gerekiyor.
 

Sanane88

Koydum Çalışma Masasını
Katılım
3 Ocak 2016
Mesajlar
65
Elmaslar
22
Puanlar
0
Yaş
24

Thomas Shelby

Tabanları Yağlama Vakti

Discord:

Sherlock#5773

Katılım
14 Aralık 2018
Mesajlar
1.433
Elmaslar
336
Puanlar
12.270
Yaş
24
Yer
Rusya
Minecraft
dragondemon68
Çalışması lazım yetki yeri yok skriptte
 

Sanane88

Koydum Çalışma Masasını
Katılım
3 Ocak 2016
Mesajlar
65
Elmaslar
22
Puanlar
0
Yaş
24

Thomas Shelby

Tabanları Yağlama Vakti

Discord:

Sherlock#5773

Katılım
14 Aralık 2018
Mesajlar
1.433
Elmaslar
336
Puanlar
12.270
Yaş
24
Yer
Rusya
Minecraft
dragondemon68

Sanane88

Koydum Çalışma Masasını
Katılım
3 Ocak 2016
Mesajlar
65
Elmaslar
22
Puanlar
0
Yaş
24
S

Silinen üye 79251

Ziyaretçi

Temel eklentileri yüklediniz mi? Eğer yüklemediyseniz sorun açık. ( SkQuery, WildSkript ve TuSke ) gibi eklentileri kurmanız gerekiyor.
 

Fatihblkn67

Yaşıyorsak, hala bir umut var demektir.

Discord:

~ Fati#1883

Katılım
1 Haziran 2017
Mesajlar
211
Elmaslar
75
Puanlar
13.470
Yer
Kdz Ereğli / Zonguldak
Bunu dene çalışması lazım

Kod:
options:
    p: &2&lLIVE &8»
    #
    otolapisadet: 64
    otolapisfiyat: 1500
    #
join:
    while player is online:
        wait a second
        if player has {@otolapisadet} lapis:
            if {otosat::%player%::lapis} is "AÇIK":
                add {@otolapisfiyat} to player's money
                remove {@otolapisadet} lapis from player's inventory
                send "{@p} &7Envanterdeki &f{@otolapisadet} &7adet &3Lapis &f{@otolapisfiyat} TL&7'ye satılmıştır."
command /otosat:
    trigger:
        otosatmenu(player)
function otosatmenu(p: player):
    open virtual chest with size 3 named "&6&lOTOSAT" to {_p}
    make gui slot 0 of {_p} with lapis named "&9Lapis" to nothing
    if {otosat::%{_p}%::lapis} is "KAPALI":
        make gui slot 18 of {_p} with gray dye named "&9Lapis" with lore "&7Durum: &cKAPALI||&7Açmak için tıklayın." to run function otosatayar({_p}, "aç", "lapis")
    else:
        make gui slot 18 of {_p} with light green dye named "&9Lapis" with lore "&7Durum: &aAÇIK||&7Kapatmak için tıklayın." to run function otosatayar({_p}, "kapat", "lapis")
function otosatayar(p: player, text: text, isim: text):
    if {_text} is "AÇ":
        set {otosat::%{_p}%::%{_isim}%} to "AÇIK"
        send "{@p} &7Oto &3Lapis &7satma &aaktif" to {_p}
        otosatmenu({_p})
    else if {_text} is "KAPAT":
        set {otosat::%{_p}%::%{_isim}%} to "KAPALI"
        send "{@p} &7Oto &3Lapis &7satma &ckapalı" to {_p}
        otosatmenu({_p})
function otosatkapalı(p: player):
    set {otosat::%{_p}%::lapis} to "KAPALI"
join:
    otosatkapalı(player)
quit:
    otosatkapalı(player)
 
Son düzenleme:

Sanane88

Koydum Çalışma Masasını
Katılım
3 Ocak 2016
Mesajlar
65
Elmaslar
22
Puanlar
0
Yaş
24
Bunu dene çalışması lazım

Kod:
options:
    p: &2&lLIVE &8»
    #
    otolapisadet: 64
    otolapisfiyat: 1500
    #
join:
    while player is online:
        wait a second
        if player has {@otolapisadet} lapis:
            if {otosat::%player%::lapis} is "AÇIK":
                add {@otolapisfiyat} to player's money
                remove {@otolapisadet} lapis from player's inventory
                send "{@p} &7Envanterdeki &f{@otolapisadet} &7adet &3Lapis &f{@otolapisfiyat} TL&7'ye satılmıştır."
command /otosat:
    trigger:
        otosatmenu(player)
function otosatmenu(p: player):
    open virtual chest with size 3 named "&6&lOTOSAT" to {_p}
    make gui slot 0 of {_p} with lapis named "&9Lapis" to nothing
    if {otosat::%{_p}%::lapis} is "KAPALI":
        make gui slot 18 of {_p} with gray dye named "&9Lapis" with lore "&7Durum: &cKAPALI||&7Açmak için tıklayın." to run function otosatayar({_p}, "aç", "lapis")
    else:
        make gui slot 18 of {_p} with light green dye named "&9Lapis" with lore "&7Durum: &aAÇIK||&7Kapatmak için tıklayın." to run function otosatayar({_p}, "kapat", "lapis")
function otosatayar(p: player, text: text, isim: text):
    if {_text} is "AÇ":
        set {otosat::%{_p}%::%{_isim}%} to "AÇIK"
        send "{@p} &7Oto &3Lapis &7satma &aaktif" to {_p}
        otosatmenu({_p})
    else if {_text} is "KAPAT":
        set {otosat::%{_p}%::%{_isim}%} to "KAPALI"
        send "{@p} &7Oto &3Lapis &7satma &ckapalı" to {_p}
        otosatmenu({_p})
function otosatkapalı(p: player):
    set {otosat::%{_p}%::lapis} to "KAPALI"
join:
    otosatkapalı(player)
quit:
    otosatkapalı(player)
Çooooook teşekkür ederim çalıştı. Konu kilitlenebilir.
 

Avelis

Ruh + Kum = Ruh Kumu
Katılım
24 Ağustos 2019
Mesajlar
1.302
Elmaslar
837
Puanlar
9.875
Konu çözüldügüne göre kilitlendi.
 
Durum
Mesaj gönderimine kapalı.
Neden altınlarını Discord sunucumuzda kazmıyorsun? TIKLA VE KATIL!
Yukarı