skriptimde 1-2 hata var 3 gündür skript yapıyorum bir türlü çözemedim.

TheElectroFox

Ağaç Yumruklayıcı
En iyi cevaplar
0
turnuva skripti gibi bir şey bu ama bir türlü çalıştıramıyorum kitload çalışmıyor sadece zırh veriyor zaten kitloadı ben yazmadım etraftan buldum oda çalışmadı üst kısımı ben yazdım ama bir türlü yapamadım
hata çıkan satırlarıda söyliyyim:
Linki görebilmek için üye olmanız gerekiyor. Giriş yap veya üye ol.

çoğu kitload 1 tane şey var onu nası düzelticem anlamadım.



Kod:
command /tspawn1:
    aliases: ts1, tsetspawn1
    permission: erudemu.tournament.setspawn.1
    permission message: "&4Malesef &1&lTurnuva &4ile alakalı yetkilere sahip değilsiniz."
    description: Karşılıklı taraflardan ilkini ayarlar. Turnuvada.
    trigger:
        message "&b&l 1. Turnuva yerini sabitledin!"
        set {tsp1} to location of the player
        
command /tspawn2:
    aliases: ts1, tsetspawn2
    permission: erudemu.tournament.setspawn.2
    permission message: "&4Malesef &1&lTurnuva &4ile alakalı yetkilere sahip değilsiniz."
    description: Karşılıklı taraflardan ikincisini ayarlar. Turnuvada.
    trigger:
        message "&b&l 2. Turnuva yerini sabitledin!"
        set {tsp2} to location of the player

command /tsec [<Player>] [<Player>]:
    aliases: tbaslat, toyuncular, tsecbaslat
    permission: erudemu.tournament.sec
    description: Turnuvayı başlat ve oyuncu seç
    trigger:
        if {tsp1} or {tsp2} isn't set:
            message "&4Error:&c Yerler ayarlı değil!"
            else:
                teleport arg-1 to {tsp1}
                broadcast "&5&lTURNUVA BAŞLASIN"
                teleport arg-2 to {tsp2}
            else:
                if sender has permission "erudemu.turnuva.sec":
                    if arg-1 and arg-2 is online:
                        teleport arg-1 to {tsp1}
                        teleport arg-2 to {tsp2}
                        execute console command "/kitload %arg-1%"
                        execute console command "/kitload %arg-2%"
                    if reciever is a player:
                        message "&6Turnuva için seçildin!" to arg-1 and arg-2
                else:
                    message "&cMalesef &4turnuva &ckomutlarına erişimin yok :("
command /kitload [<player>]:
    permission: erudemu.tournament.kit
    trigger:
        loop items in arg-1's inventory:
            remove loop-item from arg-1
        wait 0.1 seconds
        equip arg-1 with all iron armor
        set slot 0 of arg-1 to iron sword
        set slot 1 of arg-1 to flint and steel
        set slot 2 of arg-1 to fishing rod
        set slot 3 of arg-1 to bow
        set slot 8 of arg-1 to 15 of arrow

set player's slot 1 to bow
gibide denedim olmuyor bu arada
 

Pledix

Kızıltaş Madencisi
En iyi cevaplar
0
Başka yerden aldığın skript kodları belli bir addon gerektiriyor olmasın :) Bunlara da dikkat et.
 

Bernard

Бернард
Danışman
Geliştirici
En iyi cevaplar
61
" isn't " olan kısımları " is not " olarak değiştir ve tekrar dene.
 

TheElectroFox

Ağaç Yumruklayıcı
En iyi cevaplar
0

haglam123

Altın Madencisi
En iyi cevaplar
0
hatalar:
Kod:
set slot 0 of arg-1 to iron sword
        set slot 1 of arg-1 to flint and steel
        set slot 2 of arg-1 to fishing rod
        set slot 3 of arg-1 to bow
        set slot 8 of arg-1 to 15 of arrow
buralarda hata var bu hatayı düzeltmek için wildskript skrayfall veya başka bir skripti destekleyen plugin lazım bunlardan birini dene işe yaramazsa bunu dene :
Kod:
set slot 0 of arg-1 to iron sword
        set slot 1 of "arg-1" to flint and steel
        set slot 2 of "arg-1" to fishing rod
        set slot 3 of "arg-1" to bow
        set slot 8 of "arg-1" to 15 of arrow
 

ReaLTaiizor

Kızıltaş Madencisi
En iyi cevaplar
0
Kod:
command /tspawn1:
    aliases: ts1, tsetspawn1
    permission: erudemu.tournament.setspawn.1
    permission message: "&4Malesef &1&lTurnuva &4ile alakalı yetkilere sahip değilsiniz."
    description: Karşılıklı taraflardan ilkini ayarlar. Turnuvada.
    trigger:
        message "&b&l 1. Turnuva yerini sabitledin!"
        set {tsp1} to location of the player
      
command /tspawn2:
    aliases: ts1, tsetspawn2
    permission: erudemu.tournament.setspawn.2
    permission message: "&4Malesef &1&lTurnuva &4ile alakalı yetkilere sahip değilsiniz."
    description: Karşılıklı taraflardan ikincisini ayarlar. Turnuvada.
    trigger:
        message "&b&l 2. Turnuva yerini sabitledin!"
        set {tsp2} to location of the player

command /tsec [<offlineplayer>] [<offlineplayer>]:
    aliases: tbaslat, toyuncular, tsecbaslat
    permission: erudemu.tournament.sec
    description: Turnuvayı başlat ve oyuncu seç
    trigger:
        if player has permission "erudemu.turnuva.sec":
            if {tsp1} or {tsp2} isn't set:
                message "&4Error:&c Yerler ayarlı değil!"
            else:
                broadcast "&5&lTURNUVA BAŞLASIN"
                teleport arg-1 to {tsp1}
                teleport arg-2 to {tsp2}
                execute console command "/kitload %arg-1%"
                execute console command "/kitload %arg-2%"
                message "&6Turnuva için seçildin!" to arg-1 and arg-2
        else:
            message "&cMalesef &4turnuva &ckomutlarına erişimin yok :("

command /kitload [<offlineplayer>]:
    permission: erudemu.tournament.kit
    trigger:
        clear arg's inventory
        equip arg with all iron armor
        set slot 0 of arg to iron sword
        set slot 1 of arg to flint and steel
        set slot 2 of arg to fishing rod
        set slot 3 of arg to bow
        set slot 8 of arg to 15 of arrow
 
Üst