Bulundu 3 gidişlik dünya bileti

  • Konuyu Başlatan Konuyu Başlatan MustafaSZ
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.138
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Kod:
options:
    fiyat: 500#bunu değiştire bilirsiniz
    p: test#bunu size bırakıyorum prefixi değiştirin bu prefix

command /biletal:
    trigger:
        if player's balance is bigger than {@fiyat}:
            send "{@p} &bBaşarıyla 3 Kullanımlık Bilet Aldınız /git yazınca Gidebilirsiniz"
            execute console command "eco take %player% {@fiyat}"
            add 3 to {kullanım.%player%}
            add 1 to {bilet.%player%}
        else:
            send "{@p} &bBilet için &e{@fiyat} &bParanız Olmalı"

command /git:
    trigger:
        if {bilet.%player%} >= 1:
            if {kullanım.%player%} >= 1:
                send "&bDünyaya Aktarılıyorsunuz"
                remove 1 from {kullanım.%player%}
                execute console command "mv tp %player% Hiroshima"
            else:
                send "&cKullanım Hakkın bitti"
                delete {bilet.%player%}
                delete {kullanım.%player%}
                stop
        if {bilet.%player%} is not set:
            if {kullanım.%player%} is not set:
                stop
                send "&cBiletin Yok"

bü sefer olma umuduyla
 
Kod:
options:
    fiyat: 500#bunu değiştire bilirsiniz
    p: test#bunu size bırakıyorum prefixi değiştirin bu prefix

command /biletal:
    trigger:
        if player's balance is bigger than {@fiyat}:
            send "{@p} &bBaşarıyla 3 Kullanımlık Bilet Aldınız /git yazınca Gidebilirsiniz"
            execute console command "eco take %player% {@fiyat}"
            add 3 to {kullanım.%player%}
            add 1 to {bilet.%player%}
        else:
            send "{@p} &bBilet için &e{@fiyat} &bParanız Olmalı"

command /git:
    trigger:
        if {bilet.%player%} >= 1:
            if {kullanım.%player%} >= 1:
                send "&bDünyaya Aktarılıyorsunuz"
                remove 1 from {kullanım.%player%}
                execute console command "mv tp %player% Hiroshima"
            else:
                send "&cKullanım Hakkın bitti"
                delete {bilet.%player%}
                delete {kullanım.%player%}
                stop
        if {bilet.%player%} is not set:
            if {kullanım.%player%} is not set:
                stop
                send "&cBiletin Yok"

bü sefer olma umuduyla
maalesef çalışmadı iflerin konumuyla ilgili bir sorun olabilir mi
 
tekrardan /git komudu açıp oraya if koyup 0 ise hata vermesini sağlayabilir miyiz
Kod:
options:
    fiyat: 500
    p: test

command /biletal:
    trigger:
        if player's balance is bigger than 499:
            send "{@p} &bBaşarıyla 3 Kullanımlık Bilet Aldınız /git yazınca Gidebilirsiniz"
            execute console command "eco take %player% 500"
            add 3 to {kullanım.%player%}
            add 1 to {bilet.%player%}
        else:
            send "{@p} &bBilet için &e{@fiyat} &bParanız Olmalı"

command /git:
    trigger:
        if {bilet.%player%} >= 1:
            if {kullanım.%player%} >= 1:
                send "&bDünyaya Aktarılıyorsunuz"
                remove 1 from {kullanım.%player%}
                execute console command "mv tp %player% Hiroshima"
            else:
                send "&cKullanım Hakkın bitti"
                delete {bilet.%player%}
                stop
        if {bilet.%player%} is not set:
            if {kullanım.%player%} = 0:
                send "&cBiletin Yok"
                stop

bu çalıştı sorun stopu ilk yazmamızmış
 
Kod:
options:
    fiyat: 500
    p: test

command /biletal:
    trigger:
        if player's balance is bigger than 499:
            send "{@p} &bBaşarıyla 3 Kullanımlık Bilet Aldınız /git yazınca Gidebilirsiniz"
            execute console command "eco take %player% 500"
            add 3 to {kullanım.%player%}
            add 1 to {bilet.%player%}
        else:
            send "{@p} &bBilet için &e{@fiyat} &bParanız Olmalı"

command /git:
    trigger:
        if {bilet.%player%} >= 1:
            if {kullanım.%player%} >= 1:
                send "&bDünyaya Aktarılıyorsunuz"
                remove 1 from {kullanım.%player%}
                execute console command "mv tp %player% Hiroshima"
            else:
                send "&cKullanım Hakkın bitti"
                delete {bilet.%player%}
                stop
        if {bilet.%player%} is not set:
            if {kullanım.%player%} = 0:
                send "&cBiletin Yok"
                stop

bu çalıştı sorun stopu ilk yazmamızmış
çalıştı eyvallah yorduk senide
 
pardon yalnış attım


Kod:
options:
    fiyat: 499
    p: test

command /biletal:
    trigger:
        if player's balance is bigger than {@fiyat}:
            send "{@p} &bBaşarıyla 3 Kullanımlık Bilet Aldınız /git yazınca Gidebilirsiniz"
            execute console command "eco take %player% {@fiyat}"
            add 3 to {kullanım.%player%}
            add 1 to {bilet.%player%}
        else:
            send "{@p} &bBilet için &e{@fiyat} &bParanız Olmalı"

command /git:
    trigger:
        if {bilet.%player%} >= 1:
            if {kullanım.%player%} >= 1:
                send "&bDünyaya Aktarılıyorsunuz"
                remove 1 from {kullanım.%player%}
                execute console command "mv tp %player% Hiroshima"
            else:
                send "&cKullanım Hakkın bitti"
                delete {bilet.%player%}
                stop
        if {bilet.%player%} is not set:
            if {kullanım.%player%} = 0:
                send "&cBiletin Yok"
                stop
 
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