fly skripti

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

Togrul

Bir Kömür Göründü Kaptanım!
Katılım
18 Temmuz 2018
Mesajlar
171
Elmaslar
16
Puan
0
Yaş
26
Minecraft
Togrul
gencler istiyorumki ffa dunyasina sadace mvipler fly aca bilsin
 
Kod:
command /fly: trigger: if player's world is "FFA": if player's flight mode is false: set player's flight mode to true message "&bFly &6- &7Ucus modu açıldı" else: set player's flight mode to false message "&bFly &6- &7Ucus modu kapatıldı"
Gönderi otomatik olarak birleştirildi:

Dene olcakmi normalde skyblock icin kullaniyom
 
Kod:
command /fly: trigger: if player's world is "FFA": if player's flight mode is false: set player's flight mode to true message "&bFly &6- &7Ucus modu açıldı" else: set player's flight mode to false message "&bFly &6- &7Ucus modu kapatıldı"
Gönderi otomatik olarak birleştirildi:

Dene olcakmi normalde skyblock icin kullaniyom
dostum sadace mvip ler icin istedim.
 
Bu nasıl kod ne tab var ne bişey :)

Buyur kod :

Kod:
command /fly:
    permission: fly.yetki
    permission message: {@p} &fÜzgünüm, bunun için &aVIP &fsatın almalısınız.
    trigger:
        if {fly} is false:
            world is "ffa"
            send "{@p} &fUçuş aktif edildi." to player
            set player's fly mode to true
            set {fly} to true
        else:
            world is "ffa"
            send "{@p} &fUçuş modu kapatıldı." to player
            set player's fly mode to false
            set {fly} to false
 
Bu nasıl kod ne tab var ne bişey :)

Buyur kod :

Kod:
command /fly:
    permission: fly.yetki
    permission message: {@p} &fÜzgünüm, bunun için &aVIP &fsatın almalısınız.
    trigger:
        if {fly} is false:
            world is "ffa"
            send "{@p} &fUçuş aktif edildi." to player
            set player's fly mode to true
            set {fly} to true
        else:
            world is "ffa"
            send "{@p} &fUçuş modu kapatıldı." to player
            set player's fly mode to false
            set {fly} to false
senin o o tombis tombis yanaklarini opeyim istirayim o guzel suratini skript kodlayan ellerini opeyim yiyeyim cok tsk <3 en iyi cvp ho
 
Bu nasıl kod ne tab var ne bişey :)

Buyur kod :

Kod:
command /fly:
    permission: fly.yetki
    permission message: {@p} &fÜzgünüm, bunun için &aVIP &fsatın almalısınız.
    trigger:
        if {fly} is false:
            world is "ffa"
            send "{@p} &fUçuş aktif edildi." to player
            set player's fly mode to true
            set {fly} to true
        else:
            world is "ffa"
            send "{@p} &fUçuş modu kapatıldı." to player
            set player's fly mode to false
            set {fly} to false

Bu nasıl skript? Sunucuda tek kişi mi oynuyor :D

Kod:
command /fly:
    permission: fly.yetki
    permission message: &fÜzgünüm, bunun için &aVIP &fsatın almalısınız.
    trigger:
        if {fly::%player%} is set:
            world is "ffa":
                send "&fUçuş aktif edildi." to player
                set player's fly mode to true
                delete {fly::%player%}
        if {fly::%player%} isn't set:
            world is "ffa":
                send "&fUçuş modu kapatıldı." to player
                set player's fly mode to false
                set {fly::%player%} to true

Tek variable ile yaparsan bütün oyuncular tek bir variabledan kaynaklanır.

Mesela;

A oyuncusu uçarken /fly yazarak flyı false yaptı yani {fly} variable'ı false oldu ardından B oyuncusu da /fly yazarak uçuş moduna geçti ve {fly} variable'ı true oldu. Yani variable bütün sunucuda değişti. Eğer {fly::%player%} kullanır isen sadece /fly komutunu yazan oyuncu da değişir. Anladın?
 
Kod:
command /fly:
    trigger:
        if player has permission "*":
            if player's flight mode is false:
                set player's flight mode to true
                send "&3&oxxxCraft &8» &fUçuş modunuz &abaşarılı &fbir şekilde &2açıldı&f!"
                execute console command "tm msg %player% &fUçuş modu &aaçıldı&f."
                stop
            else:
                set player's flight mode to false
                send "&3&oxxxCraft &8» &fUçuş modunuz &cbaşarılı &fbir şekilde &4kapandı&f!"
                execute console command "tm msg %player% &fUçuş modu &ckapandı&f."
                stop
        else:
            if player has permission "fly.mvip":
                if player's world is "ffa":
                    if player's flight mode is false:
                        set player's flight mode to true
                        send "&3&oxxxCraft &8» &fUçuş modunuz &abaşarılı &fbir şekilde &2açıldı&f!"
                        execute console command "tm msg %player% &fUçuş modu &aaçıldı&f."
                        stop
                    else:
                        set player's flight mode to false
                        send "&3&oxxxCraft &8» &fUçuş modunuz &cbaşarılı &fbir şekilde &4kapandı&f!"
                        execute console command "tm msg %player% &fUçuş modu &ckapandı&f."
                        stop
            else:
                send "&3&oxxxCraft &8» &fFly almak için sitemizi ziyaret edin. &ewww.xxxCraft.com"
 
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