Skocz do zawartości
  • 0

czemu to nie działa


ziko4

Pytanie

mam pytanie czemu ten sk na rangi nie działa??

 

if {lvl::%player%} > 1:
        set {_gildias} to yaml value "%player%:" from file "Klany/gildie.yml"
        if player has permission "group.gracz":
            set {_ranga} to "&7"
            set {_kolor} to "&7"
        if player has permission "group.premium":
            set {_ranga} to "&8-{&6Premium&8}-"
            set {_kolor} to "&6"
        if player has permission "group.yt":
            set {_ranga} to "&8-{&cYou&fTube&8}-"
            set {_kolor} to "&3"
        if player has permission "group.mapcreator":
            set {_ranga} to "&8-{&e&lMAP CREATOR&8}-"
            set {_kolor} to "&e"
        if player has permission "group.cmmc":
            set {_ranga} to "&8-{&e&lCMMC&8}-"
            set {_kolor} to "&e"
        if player has permission "group.mod":
            set {_ranga} to "&8-{&3&lMOD&8}-"
            set {_kolor} to "&b"
        if player has permission "group.gm":
            set {_ranga} to "&8-{&6&lGM&8}-"
            set {_kolor} to "&e"
        if player has permission "group.support":
            set {_ranga} to "&8-{&c&lSUPPORT&8}-"
            set {_kolor} to "&c"
        if player has permission "group.root":
            set {_ranga} to "&8-{&4&lROOT&8}-"
            set {_kolor} to "&c&o"
        cancel event
        if {_gildias} is set:
            if {_ranga} is set:
                if player has permission "group.root":
                    broadcast "%{_ranga}% &7%colored player's name% &9&l» %{_kolor}%%coloured message%"
                else:
                    if {czat} is true:
                        broadcast "&8[&aLvl. &2%{_lvl}%&8] &8(&9%4 first characters of {_gildias}%&8) %{_ranga}% &7%colored player's name% &9&l» %{_kolor}%%uncoloured message%"
                    else:
                        send "&cCzat jest wylaczony!"
        else:
            if player has permission "group.root":
                broadcast "%{_ranga}% &7%colored player's name% &9&l» %{_kolor}%%coloured message%"
            else:
                if {czat} is true:
                    broadcast "&8[&aLvl. &2%{_lvl}%&8] %{_ranga}% &7%colored player's name% &9&l» %{_kolor}%%uncoloured message%"
                else:
                    send "&cCzat jest wylaczony!"
        stop
    else:
        send "&7Musisz osiagnac przynajmniej &62 &7poziom aby uzywac komunikacji czatowej."
        cancel event
        stop

Odnośnik do komentarza
https://skript.pl/temat/23325-czemu-to-nie-dzia%C5%82a/
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...