Bulundu Rütbeye özel spawn noktası

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

AsilTurk

Odunlara Vur Vur Vur!
Katılım
13 Ağustos 2020
Mesajlar
37
Elmaslar
31
Puan
905
Yaş
27
Minecraft
AsilTurk

Discord:

MrAsil#0001

Ben bir server yapıyorum ve polis rütbesi farklı yerde doğsun sivil başka yerde doğsun istiyorum ama komutla olucak mesela /polisspawn yazdığım nokta polislerin spawn alanı oyundan çıkıp girince o spawna atıcak ve /sivilspawn olucak o da aynı olacak seçtiğim yer spawn noktası olacak ölünce veya oyundan çıkıp girince orda doğacak yapan kişinin şimdiden eline sağlık
 
JavaScript:
command /polisspawn:
    trigger:
        if player has permission "op":
            send "&6ayarlandı."
            set {polisspawn} to location of player

on join:
    if player's group is "Polis":
        teleport player to {polisspawn}
    if player's group is "Sivil":
        teleport player to {sivilspawn}     

command /sivilspawn:
    trigger:
        if player has permission "op":
            send "&6ayarlandı."
            set {sivilspawn} to location of player
 
JavaScript:
command /polisspawn:
    trigger:
        if player has permission "op":
            send "&6ayarlandı."
            set {polisspawn} to location of player

on join:
    if player's group is "Polis":
        teleport player to {polisspawn}
    if player's group is "Sivil":
        teleport player to {sivilspawn}    

command /sivilspawn:
    trigger:
        if player has permission "op":
            send "&6ayarlandı."
            set {sivilspawn} to location of player
PowerRanks kullanıyorum çalışırsa dönücem geri
 
JavaScript:
command /polisspawn:
    trigger:
        if player has permission "op":
            send "&6ayarlandı."
            set {polisspawn} to location of player

on join:
    if player's group is "Polis":
        teleport player to {polisspawn}
    if player's group is "Sivil":
        teleport player to {sivilspawn}    

command /sivilspawn:
    trigger:
        if player has permission "op":
            send "&6ayarlandı."
            set {sivilspawn} to location of player
2 error verdi

Kod:
[Skript] Reloading spawn.sk...
[17:53:58 ERROR]: 'player's group' is not an entity type (spawn.sk, line 8: if player's group is "Polis":')
[17:53:58 ERROR]: 'player's group' is not an entity type (spawn.sk, line 10: if player's group is "Sivil":')
[17:53:58 INFO]: [Skript] Encountered 2 errors while reloading spawn.sk!
 
2 error verdi

Kod:
[Skript] Reloading spawn.sk...
[17:53:58 ERROR]: 'player's group' is not an entity type (spawn.sk, line 8: if player's group is "Polis":')
[17:53:58 ERROR]: 'player's group' is not an entity type (spawn.sk, line 10: if player's group is "Sivil":')
[17:53:58 INFO]: [Skript] Encountered 2 errors while reloading spawn.sk!
O zaman şöyle yapabilirsin;
JavaScript:
command /polisspawn:
    trigger:
        if player has permission "op":
            send "&6ayarlandı."
            set {polisspawn} to location of player

on join:
    if player has permission "polis.spawn":
        teleport player to {polisspawn}
    if player has permission "sivilspawn":
        teleport player to {sivilspawn}   

command /sivilspawn:
    trigger:
        if player has permission "op":
            send "&6ayarlandı."
            set {sivilspawn} to location of player

Kullandığın yetki eklentinden Polislere, "polis.spawn", Sivillere, "sivil.spawn" permlerini verirsen çalışacaktır. Kodu değiştirdim tekrar değiştir ve kaydet.
 
O zaman şöyle yapabilirsin;
JavaScript:
command /polisspawn:
    trigger:
        if player has permission "op":
            send "&6ayarlandı."
            set {polisspawn} to location of player

on join:
    if player has permission "polis.spawn":
        teleport player to {polisspawn}
    if player has permission "sivilspawn":
        teleport player to {sivilspawn}  

command /sivilspawn:
    trigger:
        if player has permission "op":
            send "&6ayarlandı."
            set {sivilspawn} to location of player

Kullandığın yetki eklentinden Polislere, "polis.spawn", Sivillere, "sivil.spawn" permlerini verirsen çalışacaktır. Kodu değiştirdim tekrar değiştir ve kaydet.
Çalıştı, teşekkürler
 
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