[ İstek ] Permission ekleme

cbg2002

Işık Taşı Madencisi
Mesajlar
3,309
En iyi cevaplar
0
Beğeniler
1,647
Puanları
4,560
@Secret_wither Konuya bakacakmısın artık ?[DOUBLEPOST=1409561154,1409561107][/DOUBLEPOST]

Maalesef olmadı. :(
Kod:
on rightclick on player:
    trigger:
    if player has the permission "inv.acma":
        open the clicked entity's inventory for the player
        wait 2 seconds
        close the player's inventory
        if {%player%.inveditor} is not set:
            send "&aOyuncunun İnventory'i Basariyla Acildi!" to player
            set {%player%.inveditor} to "acik"
            wait 3600 seconds
            delete {%player%.inveditor}
        else:
            send "&4Birdahaki İnventory Acma Hakkiniz 1 Saat Sonra" to player

Bu kodun biryerinde hata var, bunu bulabilirmisin ?
komutlu skript yazmadığın sürece trigger kullanamazsın :)
Yani triggeri kaldır
 

cbg2002

Işık Taşı Madencisi
Mesajlar
3,309
En iyi cevaplar
0
Beğeniler
1,647
Puanları
4,560
Evet son durum nedir ^_^
 

GodofMilker

Nether Yerlisi
Mesajlar
2,196
En iyi cevaplar
0
Beğeniler
2,562
Puanları
6,790
Kod:
on rightclick on player:
[tab]if player has the permission "inv.acma":
[tab][tab]if {%player%.inveditor} is not set:
[tab][tab][tab]open the clicked entity's inventory for the player
[tab][tab][tab]wait 2 seconds
[tab][tab][tab]close the player's inventory
[tab][tab][tab]send "&aOyuncunun İnventory'i Basariyla Acildi!" to player
[tab][tab][tab]set {%player%.inveditor} to "acik"
[tab][tab][tab]wait 3600 seconds
[tab][tab][tab]delete {%player%.inveditor}
[tab][tab]else:
[tab][tab][tab]send "&4Birdahaki İnventory Acma Hakkiniz 1 Saat Sonra" to player
Bu olması lazım denemedim hata verirse hata mesajını da yazar mısın ? ona göre düzeltelim :3
Edit: Yazmayı unutmuşum Secret_Wither'ınki bu :3
 
Son düzenleme:

cbg2002

Işık Taşı Madencisi
Mesajlar
3,309
En iyi cevaplar
0
Beğeniler
1,647
Puanları
4,560
Kod:
on rightclick on player:
[tab]if player has the permission "inv.acma":
[tab][tab]if {%player%.inveditor} is not set:
[tab][tab][tab]open the clicked entity's inventory for the player
[tab][tab][tab]wait 2 seconds
[tab][tab][tab]close the player's inventory
[tab][tab][tab]send "&aOyuncunun İnventory'i Basariyla Acildi!" to player
[tab][tab][tab]set {%player%.inveditor} to "acik"
[tab][tab][tab]wait 3600 seconds
[tab][tab][tab]delete {%player%.inveditor}
[tab][tab]else:
[tab][tab][tab]send "&4Birdahaki İnventory Acma Hakkiniz 1 Saat Sonra" to player
Bu olması lazım denemedim hata verirse hata mesajını da yazar mısın ? ona göre düzeltelim :3
Ben vermiştim de neyse ^^
 

batuhanmck

Demir Madencisi
Mesajlar
332
En iyi cevaplar
0
Beğeniler
66
Puanları
540
Ruh hali
Kod:
on rightclick on player:
[tab]if player has the permission "inv.acma":
[tab][tab]if {%player%.inveditor} is not set:
[tab][tab][tab]open the clicked entity's inventory for the player
[tab][tab][tab]wait 2 seconds
[tab][tab][tab]close the player's inventory
[tab][tab][tab]send "&aOyuncunun İnventory'i Basariyla Acildi!" to player
[tab][tab][tab]set {%player%.inveditor} to "acik"
[tab][tab][tab]wait 3600 seconds
[tab][tab][tab]delete {%player%.inveditor}
[tab][tab]else:
[tab][tab][tab]send "&4Birdahaki İnventory Acma Hakkiniz 1 Saat Sonra" to player
Bu olması lazım denemedim hata verirse hata mesajını da yazar mısın ? ona göre düzeltelim :3
Edit: Yazmayı unutmuşum Secret_Wither'ınki bu :3

/sk reload all komutunu girdiğimde hata yok. Fakat adam tıkladığımda envanter açılmıyor. Onun yerine ha bire 1 saat sonra diyor neden ?
 

GodofMilker

Nether Yerlisi
Mesajlar
2,196
En iyi cevaplar
0
Beğeniler
2,562
Puanları
6,790
/sk reload all komutunu girdiğimde hata yok. Fakat adam tıkladığımda envanter açılmıyor. Onun yerine ha bire 1 saat sonra diyor neden ?
O halde o zamanı sıfırlayan bir şey oluştur ^_^
command /zamansifirla:
[tab]trigger:
[tab][tab]delete {%player%.inveditor}
Bunu yaptıktan sonra dene ^_^
 

Secret_wither

Bedrock Kaşifi
Mesajlar
1,924
En iyi cevaplar
0
Beğeniler
499
Puanları
1,290
komutlu skript yazmadığın sürece trigger kullanamazsın :)
Yani triggeri kaldır
Hayır öyle bir şey yok.Bende çalışıyoe trigger varken
Örneğin
Kod:
command /adebakim:
    trigger:
       send "&aAaaa!.."
Mesela Bu çalışıyor.Bu anlamda diyorsan yanlış biliyorsun ama başka anlamda biliyorsan başka.


Sent from my iPad using Tapatalk
 

cbg2002

Işık Taşı Madencisi
Mesajlar
3,309
En iyi cevaplar
0
Beğeniler
1,647
Puanları
4,560
Hayır öyle bir şey yok.Bende çalışıyoe trigger varken
Örneğin
Kod:
command /adebakim:
    trigger:
       send "&aAaaa!.."
Mesela Bu çalışıyor.Bu anlamda diyorsan yanlış biliyorsun ama başka anlamda biliyorsan başka.


Sent from my iPad using Tapatalk
Adam
on bişeybişey:
trigger
Yapmış onı diyorum <_< o kadarını bizde biliyoruz.
 

Nninjaesa

Kömür Madencisi
Mesajlar
118
En iyi cevaplar
0
Beğeniler
17
Puanları
0
Kod:
on rightclick on player:

    if player has the permission "inv.acma":
        if {%player%.invacma} is not set:
            set {%player%.invacma} to "acik"
            open the clicked entity's inventory for the player
            send "&aInventory Acildi !" to player
            wait 2 seconds
            send "&aInventory Kapatildi !" to player
            close the player's inventory
            wait 3600 seconds
            delete {%player%.invacma}
        else:
            send "&4Lutfen Acmak Icin 1 Saat Bekleyiniz." to player
Hanny Bende yeniyim ama sağdan soldan baya bi öğrendim ^_^ denedim çalıştı ^_^
@batuhanmck
 
Son düzenleme:

batuhanmck

Demir Madencisi
Mesajlar
332
En iyi cevaplar
0
Beğeniler
66
Puanları
540
Ruh hali
Kod:
on rightclick on player:

    if player has the permission "inv.acma":
        if {%player%.invacma} is not set:
            set {%player%.invacma} to "acik"
            open the clicked entity's inventory for the player
            send "&aInventory Acildi !" to player
            wait 2 seconds
            send "&aInventory Kapatildi !" to player
            close the player's inventory
            wait 3600 seconds
            delete {%player%.invacma}
        else:
            send "&4Lutfen Acmak Icin 1 Saat Bekleyiniz." to player
Hanny Bende yeniyim ama sağdan soldan baya bi öğrendim ^_^ denedim çalıştı ^_^
@batuhanmck

Ben denedim 1 saati 3 saniye yaptım ama adam sadece 1 kez açabiliyor ?
 

batuhanmck

Demir Madencisi
Mesajlar
332
En iyi cevaplar
0
Beğeniler
66
Puanları
540
Ruh hali
Wait 3600 seconds'u wait 3 seconds yaptın değil mi ?

Aynen öyle yaptm dostum.

Neyi Degiştirdin ? Söylermisin Kod Olarak ?

Kod:
Kod:
on rightclick on player:

    if player has the permission "inv.acma":
        if {%player%.invacma} is not set:
            set {%player%.invacma} to "acik"
            open the clicked entity's inventory for the player
            send "&aInventory Acildi !" to player
            wait 2 seconds
            send "&aInventory Kapatildi !" to player
            close the player's inventory
            wait 3 seconds
            delete {%player%.invacma}
        else:
            send "&4Lutfen Acmak Icin 1 Saat Bekleyiniz." to player

Böyle yaptım.
 

Üst