Skocz do zawartości
  • 0

Anty Fly


Ekipa Szymka i Bananka
 Udostępnij

Pytanie

Moze ktos pomoc ustawic w skrypcie aby wiadomosc wysylala sie do gracza z permisja "antyfly"?

 

every 3 seconds:
    loop all players:
        loop-player is not flying
        loop-player's gamemode is not creative
        set {y.%loop-player%} to the y location of loop-player
        wait 1 seconds
        set {y2.%loop-player%} to the y location of loop-player
        wait 1 ticks
        if difference between {y.%loop-player%} and {y2.%loop-player%} is greater than 5:
            loop all players:
                loop-player-2 is op:
                    send "&6[AntiCheat] &c%loop-player-1% est suspécté de Fly &6(Niveau MOYEN)" to loop-player-2
every 3 seconds:
    loop all players:
        loop-player is not flying
        loop-player's gamemode is not creative
        set {z.%loop-player%} to the z location of loop-player
        wait 1 seconds
        set {z2.%loop-player%} to the z location of loop-player
        wait 1 ticks
        if difference between {z.%loop-player%} and {z2.%loop-player%} is greater than 8:
            loop all players:
                loop-player-2 is op:
                    send "&6[AntiCheat] &c%loop-player-1% est suspécté de SpeedHack/Fly" to loop-player-2
every 3 seconds:
    loop all players:
        loop-player is not flying
        loop-player's gamemode is not creative
        set {x.%loop-player%} to the x location of loop-player
        wait 1 seconds
        set {x2.%loop-player%} to the x location of loop-player
        wait 1 ticks
        if difference between {x.%loop-player%} and {x2.%loop-player%} is greater than 8:
            loop all players:
                loop-player-2 is op:
                    send "&6[AntiCheat] &c%loop-player-1% ma buc moze fly/speedhack'a" to loop-player-2
every 1.5 second:
    clear {_blockbelow}
    clear {_alerte2}
    clear {_alerte}
    clear {_arround}
    clear {_loopair}
    clear {_below}
    loop all players:
        loop-player's gamemode is not creative
        set {_blockbelow} to the block below loop-player
        while {_blockbelow} is air :
            set {_blockbelow} to the block below {_blockbelow}
            add 1 to {_alerte}
        wait 1 second
        set {_blockbelow} to the block below loop-player
        while {_blockbelow} is air :
            set {_blockbelow} to the block below {_blockbelow}
            add 1 to {_alerte2}
        if  block west below loop-player is not air :
            add 1 to {_below}
        if  block north below loop-player is not air :
            add 1 to {_below}
        if  block south below loop-player is not air :
            add 1 to {_below}
        if  block east below loop-player is not air :
            add 1 to {_below}
        if  block south loop-player is not air :
            add 1 to {_arround}
        if  block north loop-player is not air :
            add 1 to {_arround}
        if  block west loop-player is not air :
            add 1 to {_arround}
        if  block east loop-player is not air :
            add 1 to {_arround}
        if block below loop-player is not air:
            add 1 to {_arround}
        loop blocks in radius 2 around the loop-player:
            loop-block is air:
                add 1 to {_loopair}
        if {_alerte2} >= {_alerte}:
            {_alerte} > 6
            if {_below} is not set :
                loop all players:
                    loop-player-2 is op:
                        send "&6[AntiCheat] &c%loop-player-1% byc moze lata ale &asrednio" to loop-player-2
            if {_arround} is not set:
                loop all players:
                    loop-player-2 is op:
                        send "&6[AntiCheat] &c%loop-player-1% byc moze lata ale &aslabo" to loop-player-2
        if {_loopair} > 34:
            loop all players:
                loop-player-2 is op:
                    send "&6[AntiCheat] &c%loop-player-1%jest duza szansa ze gracz &alata!" to loop-player-2

 

Edytowane przez Ixidi
[code]
Odnośnik do komentarza
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Spoiler
every 3 seconds:
    loop all players:
        loop-player is not flying
        loop-player's gamemode is not creative
        set {y.%loop-player%} to the y location of loop-player
        wait 1 seconds
        set {y2.%loop-player%} to the y location of loop-player
        wait 1 ticks
        if difference between {y.%loop-player%} and {y2.%loop-player%} is greater than 5:
            loop all players:
                if loop-player-2 has permission "anty.fly":
                    send "&6[AntiCheat] &c%loop-player-1% est suspécté de Fly &6(Niveau MOYEN)" to loop-player-2
every 3 seconds:
    loop all players:
        loop-player is not flying
        loop-player's gamemode is not creative
        set {z.%loop-player%} to the z location of loop-player
        wait 1 seconds
        set {z2.%loop-player%} to the z location of loop-player
        wait 1 ticks
        if difference between {z.%loop-player%} and {z2.%loop-player%} is greater than 8:
            loop all players:
                loop-player-2 is op:
                    send "&6[AntiCheat] &c%loop-player-1% est suspécté de SpeedHack/Fly" to loop-player-2
every 3 seconds:
    loop all players:
        loop-player is not flying
        loop-player's gamemode is not creative
        set {x.%loop-player%} to the x location of loop-player
        wait 1 seconds
        set {x2.%loop-player%} to the x location of loop-player
        wait 1 ticks
        if difference between {x.%loop-player%} and {x2.%loop-player%} is greater than 8:
            loop all players:
                if loop-player-2 has permission "anty.fly":
                    send "&6[AntiCheat] &c%loop-player-1% ma buc moze fly/speedhack'a" to loop-player-2
every 1.5 second:
    clear {_blockbelow}
    clear {_alerte2}
    clear {_alerte}
    clear {_arround}
    clear {_loopair}
    clear {_below}
    loop all players:
        loop-player's gamemode is not creative
        set {_blockbelow} to the block below loop-player
        while {_blockbelow} is air :
            set {_blockbelow} to the block below {_blockbelow}
            add 1 to {_alerte}
        wait 1 second
        set {_blockbelow} to the block below loop-player
        while {_blockbelow} is air :
            set {_blockbelow} to the block below {_blockbelow}
            add 1 to {_alerte2}
        if  block west below loop-player is not air :
            add 1 to {_below}
        if  block north below loop-player is not air :
            add 1 to {_below}
        if  block south below loop-player is not air :
            add 1 to {_below}
        if  block east below loop-player is not air :
            add 1 to {_below}
        if  block south loop-player is not air :
            add 1 to {_arround}
        if  block north loop-player is not air :
            add 1 to {_arround}
        if  block west loop-player is not air :
            add 1 to {_arround}
        if  block east loop-player is not air :
            add 1 to {_arround}
        if block below loop-player is not air:
            add 1 to {_arround}
        loop blocks in radius 2 around the loop-player:
            loop-block is air:
                add 1 to {_loopair}
        if {_alerte2} >= {_alerte}:
            {_alerte} > 6
            if {_below} is not set :
                loop all players:
                    if loop-player-2 has permission "anty.fly":
                        send "&6[AntiCheat] &c%loop-player-1% byc moze lata ale &asrednio" to loop-player-2
            if {_arround} is not set:
                loop all players:
                    if loop-player-2 has permission "anty.fly":
                        send "&6[AntiCheat] &c%loop-player-1% byc moze lata ale &aslabo" to loop-player-2
        if {_loopair} > 34:
            loop all players:
                if loop-player-2 has permission "anty.fly":
                    send "&6[AntiCheat] &c%loop-player-1%jest duza szansa ze gracz &alata!" to loop-player-2

 

Z uprawnieniem anty.fly

Edytowane przez Ixidi
spoiler
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

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