Süreli Fly Skripti

[13:05:48 INFO]: Line 1: (surelifly.sk)
[13:05:48 INFO]: Can't understand this event: 'on script start'
[13:05:48 INFO]: Line: on script start:
[13:05:48 INFO]:
[13:05:48 INFO]: Line 15: (surelifly.sk)
[13:05:48 INFO]: Can't understand this section: repeat 30 times
[13:05:48 INFO]: Line: repeat 30 times:
[13:05:48 INFO]:
[13:05:48 INFO]: [Skript] Encountered 2 errors while reloading surelifly.sk! (4
ms)
Kusura bakma hocam, unutmuşum uzun süredir yapmıyordum.

Kod:
on load:
    repeat every 60 seconds:
        set {fly_cooldown} to {}

command surelifly:
    permission: SimpleVIPPerks.vipucus
    trigger:
        if {fly_cooldown::%player%} is set:
            message "&cYou must wait before using this command again!"
        else:
            set {fly_cooldown::%player%} to true
            set player's fly mode to true
            message "&3Survival &8» &eSüreli fly &a30 &esaniye boyunca aktif!"
            wait 1 second
            repeat with 30 loop:
                wait 1 second
                if {fly_cooldown::%player%} is set:
                    set {fly_cooldown::%player%} to false
                    set player's fly mode to false
                    message "&3Survival &8» &cSüren bitti. Fly kapatıldı!"
                    stop
            set {fly_cooldown::%player%} to false
            set player's fly mode to false
            message "&3Survival &8» &cSüren bitti. Fly kapatıldı!"

Şimdi bunu dener misin?
 
Kusura bakma hocam, unutmuşum uzun süredir yapmıyordum.

Kod:
on load:
    repeat every 60 seconds:
        set {fly_cooldown} to {}

command surelifly:
    permission: SimpleVIPPerks.vipucus
    trigger:
        if {fly_cooldown::%player%} is set:
            message "&cYou must wait before using this command again!"
        else:
            set {fly_cooldown::%player%} to true
            set player's fly mode to true
            message "&3Survival &8» &eSüreli fly &a30 &esaniye boyunca aktif!"
            wait 1 second
            repeat with 30 loop:
                wait 1 second
                if {fly_cooldown::%player%} is set:
                    set {fly_cooldown::%player%} to false
                    set player's fly mode to false
                    message "&3Survival &8» &cSüren bitti. Fly kapatıldı!"
                    stop
            set {fly_cooldown::%player%} to false
            set player's fly mode to false
            message "&3Survival &8» &cSüren bitti. Fly kapatıldı!"

Şimdi bunu dener misin?
2 ve 15 . satırda hata var
[13:44:26 INFO]: [Skript] Reloading surelifly.sk...
[13:44:26 INFO]: Line 2: (surelifly.sk)
[13:44:26 INFO]: Can't understand this section: repeat every 60 seconds
[13:44:26 INFO]: Line: repeat every 60 seconds:
[13:44:26 INFO]:
[13:44:26 INFO]: Line 15: (surelifly.sk)
[13:44:26 INFO]: Can't understand this section: repeat with 30 loop
[13:44:26 INFO]: Line: repeat with 30 loop:
[13:44:26 INFO]:
[13:44:26 INFO]: [Skript] Encountered 2 errors while reloading surelifly.sk! (23
ms)
 
2 ve 15 . satırda hata var
[13:44:26 INFO]: [Skript] Reloading surelifly.sk...
[13:44:26 INFO]: Line 2: (surelifly.sk)
[13:44:26 INFO]: Can't understand this section: repeat every 60 seconds
[13:44:26 INFO]: Line: repeat every 60 seconds:
[13:44:26 INFO]:
[13:44:26 INFO]: Line 15: (surelifly.sk)
[13:44:26 INFO]: Can't understand this section: repeat with 30 loop
[13:44:26 INFO]: Line: repeat with 30 loop:
[13:44:26 INFO]:
[13:44:26 INFO]: [Skript] Encountered 2 errors while reloading surelifly.sk! (23
ms)
Kod:
command surelifly:
    permission: SimpleVIPPerks.vipucus
    cooldown: 60 seconds
    trigger:
        if player has permission "SimpleVIPPerks.vipucus":
            set player's fly mode to true
            wait 30 seconds
            set player's fly mode to false
            message "&3Survival &8» &cSüren bitti. Fly kapatıldı!"
        else:
            message "&cYou don't have permission to use this command!"

Şimdi dener misin? ;((
 
Kod:
command surelifly:
    permission: SimpleVIPPerks.vipucus
    cooldown: 60 seconds
    trigger:
        if player has permission "SimpleVIPPerks.vipucus":
            set player's fly mode to true
            wait 30 seconds
            set player's fly mode to false
            message "&3Survival &8» &cSüren bitti. Fly kapatıldı!"
        else:
            message "&cYou don't have permission to use this command!"

Şimdi dener misin? ;((
tmdır eyw
bide hocam bu cooldown u
&3Survival &8» &7Bunu kullanmak için daha zamanın var!
yazısı yazsın istiyom
 
Son düzenleme:

Bu konuyu görüntüleyen kullanıcılar

Technopat Haberler

Yeni konular

Geri
Yukarı