Bulundu skripte perm ekleme

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

iMeteorito

Koydum Çalışma Masasını
Katılım
23 Aralık 2018
Mesajlar
61
Elmaslar
10
Puan
13.520
Konum
Fijinin derinlikleri
Minecraft
iMeteorito

Discord:

! Bora#5829

benim skriptimde perm eklemem lazım yapamıyorum
Kod:
on command:
    If "%world of player%" is "banka":
        if {komut.durum.%player%} is 1:
            cancel event
            send player title "{@prefix} {@g7}" with subtitle "&eSoygun Alanında Komut Kullanamazsın!"
on region enter:
    if "%region%" contains "banka1":
        set {komut.durum.%player%} to 1
on leaving region:
    if "%region%" contains "banka1":
        set {komut.durum.%player%} to 0

on entering of region "banka1":
    if {kasa::*} doesn't contain player:
        set {_durum} to true
    if {kasa::*} is not set:
        set {_durum} to true
    if {_durum} is set:
        add player to {kasa::*}
on leaving of region "banka1":
    if {kasa::*} contains player:
        remove player from {kasa::*}
        set {_durum} to false
 
Kod:
on command:
        if player has permission "perm.perm":
    If "%world of player%" is "banka":
        if {komut.durum.%player%} is 1:
            cancel event
            send player title "{@prefix} {@g7}" with subtitle "&eSoygun Alanında Komut Kullanamazsın!"
on region enter:
    if "%region%" contains "banka1":
        set {komut.durum.%player%} to 1
on leaving region:
    if "%region%" contains "banka1":
        set {komut.durum.%player%} to 0

on entering of region "banka1":
    if {kasa::*} doesn't contain player:
        set {_durum} to true
    if {kasa::*} is not set:
        set {_durum} to true
    if {_durum} is set:
        add player to {kasa::*}
on leaving of region "banka1":
    if {kasa::*} contains player:
        remove player from {kasa::*}
        set {_durum} to false

perm.perm yazan yere istediğin permissionsu yaz.

(Yararlı olduysa en iyi cevap olarak seçer misin ;))
 
Kod:
on command:
        if player has permission "perm.perm":
    If "%world of player%" is "banka":
        if {komut.durum.%player%} is 1:
            cancel event
            send player title "{@prefix} {@g7}" with subtitle "&eSoygun Alanında Komut Kullanamazsın!"
on region enter:
    if "%region%" contains "banka1":
        set {komut.durum.%player%} to 1
on leaving region:
    if "%region%" contains "banka1":
        set {komut.durum.%player%} to 0

on entering of region "banka1":
    if {kasa::*} doesn't contain player:
        set {_durum} to true
    if {kasa::*} is not set:
        set {_durum} to true
    if {_durum} is set:
        add player to {kasa::*}
on leaving of region "banka1":
    if {kasa::*} contains player:
        remove player from {kasa::*}
        set {_durum} to false

perm.perm yazan yere istediğin permissionsu yaz.

(Yararlı olduysa en iyi cevap olarak seçer misin ;))
hatalı yapmışsınız if player has permission "perm.perm": yerinden sonra tab bırakmanız gerekiyor.
 
Sorun çözüldüyse konu kilitlenebilir.
 
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