Çözüldü Skript'teki Sorun

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

CyberCOD

Fırında Isıttığım İlk Taş
Katılım
17 Haziran 2016
Mesajlar
77
Elmaslar
17
Puan
9.010
Yaş
27
Konum
Kahramanmaraş
Kod:
command /çek [<number>]:
    trigger:
        if arg 1 is not set:
            message "&7Kullanmak için &c/çek <sayi>"
            stop
        if arg 1 is set:
            if player's balance is greater than arg-1:
                message "&7%arg-1% tl miktarda paraya bir çek yazdirdiniz !"
                remove arg-1 from the player's balance
                set {%arg-2%.paraverisi} to "%arg-1%"
                set slot 1 of player's inventory to paper named "%{%arg-2%.paraverisi}%" with lore "&7Kullanmak için tiklayiniz !"
                set {esya} to slot 1 of player

on rightclick with a paper:
    if "%lore of player's tool%" contains "&7Kullanmak için tiklayiniz !":
        set {_miktar} to name of tool
        set {_miktar} to {_miktar} parsed as number
        message "&7%{_miktar}% miktarli para çekini kullandiniz."
        add {_miktar} to the player's account
        remove 1 of player's tool from player's inventory
Bu Skript Şu Hatayı Veriyor Düzeltirmisiniz?
Kod:
[06:54:25 ERROR]: a slot can't be set to 'paper named "%{%arg-2%.paraverisi}%" with lore "&7Kullanmak için tiklayiniz !"' because the latter is neither an item type nor an item stack (cek.sk, line 11: set slot 1 of player's inventory to paper named "%{%arg-2%.paraverisi}%" with lore "&7Kullanmak için tiklayiniz !"')
[06:54:25 WARN]: the lore of the tool of the player is already a text, so you should not put it in one (e.g. the lore of the tool of the player instead of "%the lore of the tool of the player%") (cek.sk, line 15: if "%lore of player's tool%" contains "&7Kullanmak için tiklayiniz !":')
[06:54:25 INFO]: [Skript] Encountered 1 error while reloading cek.sk!
 
Kağıdın adını ve loresini değiştirmeyi deneyin.
 
set slot 1 of player to paper named şeklinde denermisin?
 
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