Hata Nerede ?

UcanPatates26

Zombi Katili
En iyi cevaplar
0
Selam arkadaşlar ben skript konusunda daha yeniyim.Basit bir skript yazdım oyuncuların flyini değiştirecekti.Fakat hata verdi.Hatamı bana söyleyebilirmisiniz?
Skript:
Kod:
command /oyuncufly [<text>]:
    permission: set.fly
    permission message: &3Bu komut için yeterli yetkiye sahip degilsin!
    aliases: /flyoyuncu
    trigger:
        if arg 1 is set:
            if arg 1 is "aktif"
                set player's flight mode true
        if arg 1 is set:
            if arg 1 is "kapat"
                set player's flight mode false
        if arg 1 is not set:
            send "&aOyuncularin fly modunu acmak icin &3/oyuncufly aktif yazin!
            send "&bOyuncularin fly modunu kapatmak icin &3/oyuncufly Kapat yazin!
Neresinde hata var?
 

AylinWinner

Neko-chan
En iyi cevaplar
0
Skript hakkında uzman değilim ama, send "mesaj" oluyor sanırım yani şöyle sen " eklememişsin son kısma, kısacası send "mesaj" tırnağı kapatman gerek
 

LifeMCServer

Nether Yerlisi
En iyi cevaplar
98
PHP:
command /oyuncufly [<text>]:
    permission: set.fly
    permission message: &3Bu komut için yeterli yetkiye sahip degilsin!
    aliases: flyoyuncu
    trigger:
        if arg-1 is "aktif" or "on" or "aç":
            set arg-1's fly mode to true
        else if arg-1 is "kapat" or "off" or "kapa":
            set arg-1's fly mode to false
        else if arg-1 is not set:
            send "&aOyuncularin fly modunu acmak icin &3/oyuncufly aktif yazin!" to player
            send "&bOyuncularin fly modunu kapatmak icin &3/oyuncufly Kapat yazin!" to player
 
Üst