Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Skrypt na anty logout


TerriorPL

Rekomendowane odpowiedzi

Opublikowano

Witam napiszę ktoś mały skrypcik na anty logout.

Gdy udeżymy kogoś, lub ktoś nas to nie możemy się wylogować przez 30 sekund i nad paskiem EQ są pokazane 30 czerwonych kresek "------------------" i z każdą sekundą od lewej strony do prawej 1 czerwona kreska zamienia się w zieloną. I gdy cały pasek będzie zielony to znika. I gdy wylogujemy się podczas walki to zginiemy.

 

jeżeli nikt nie umie zrobić żeby pisało nad eq to żeby pisało na pasku smoka

Jak jesteśmy w walce to ma być 30 czerwonych pasków "--------------------" i jak się nie klepiemy to 1 pasek od lewej strony co sekundę zamienia się na zielono

Opublikowano

Naraźie wystarczy mi skrypt ponieważ muszę zaprezentować to radzie.

 

Jak znasz się cokolwiek na javie to poszukaj sobie MCWG-AntiRelog albo FairPVP i przerób że zaraz paska u góry masz te paski co ty chcesz.

 

CWeKkdQ.png

Opublikowano

@ref jeżeli nikt nie umie zrobić żeby pisało nad eq to żeby pisało na pasku smoka

Jak jesteśmy w walce to ma być 30 czerwonych pasków "--------------------" i jak się nie klepiemy to 1 pasek od lewej strony co sekundę zamienia się na zielono

 

DAJE LIKE

Opublikowano

NIE TESTOWANE:

on damage:
    attacker is player:
    victim is player:
        set {Logout.time.%victim%} to 30
        reset bar of victim
        set bar size of victim to 100
        set bar title of loop-player to "&c------------------------------"
every 1 second:
    loop all players:
        if {Logout.time.%loop-player%} is bigger than 0:
            remove 1 from {Logout.time.%loop-player%}
            reset bar of loop-player
        set bar size of loop-player to 100
        if {Logout.time.%Loop-player%} is 29:
            set bar title of loop-player to "&a-&c-----------------------------"
        if {Logout.time.%Loop-player%} is 28:
            set bar title of loop-player to "&a--&c----------------------------"
        if {Logout.time.%Loop-player%} is 27:
            set bar title of loop-player to "&a---&c---------------------------"
        if {Logout.time.%Loop-player%} is 26:
            set bar title of loop-player to "&a----&c--------------------------"
        if {Logout.time.%Loop-player%} is 25:
            set bar title of loop-player to "&a-----&c-------------------------"
        if {Logout.time.%Loop-player%} is 24:
            set bar title of loop-player to "&a------&c------------------------"
        if {Logout.time.%Loop-player%} is 23:
            set bar title of loop-player to "&a-------&c-----------------------"
        if {Logout.time.%Loop-player%} is 22:
            set bar title of loop-player to "&a--------&c----------------------"
        if {Logout.time.%Loop-player%} is 21:
            set bar title of loop-player to "&a---------&c---------------------"
        if {Logout.time.%Loop-player%} is 20:
            set bar title of loop-player to "&a----------&c--------------------"
        if {Logout.time.%Loop-player%} is 19:
            set bar title of loop-player to "&a-----------&c-------------------"
        if {Logout.time.%Loop-player%} is 18:
            set bar title of loop-player to "&a-------------&c-----------------"
        if {Logout.time.%Loop-player%} is 17:
            set bar title of loop-player to "&a--------------&c----------------"
        if {Logout.time.%Loop-player%} is 16:
            set bar title of loop-player to "&a---------------&c---------------"
        if {Logout.time.%Loop-player%} is 15:
            set bar title of loop-player to "&a----------------&c--------------"
        if {Logout.time.%Loop-player%} is 14:
            set bar title of loop-player to "&a-----------------&c-------------"
        if {Logout.time.%Loop-player%} is 13:
            set bar title of loop-player to "&a------------------&c------------"
        if {Logout.time.%Loop-player%} is 12:
            set bar title of loop-player to "&a-------------------&c-----------"
        if {Logout.time.%Loop-player%} is 11:
            set bar title of loop-player to "&a--------------------&c----------"
        if {Logout.time.%Loop-player%} is 10:
            set bar title of loop-player to "&a---------------------&c---------"
        if {Logout.time.%Loop-player%} is 9:
            set bar title of loop-player to "&a----------------------&c--------"
        if {Logout.time.%Loop-player%} is 8:
            set bar title of loop-player to "&a-----------------------&c-------"
        if {Logout.time.%Loop-player%} is 7:
            set bar title of loop-player to "&a------------------------&c------"
        if {Logout.time.%Loop-player%} is 6:
            set bar title of loop-player to "&a-------------------------&c-----"
        if {Logout.time.%Loop-player%} is 5:
            set bar title of loop-player to "&a--------------------------&c----"
        if {Logout.time.%Loop-player%} is 4:
            set bar title of loop-player to "&a---------------------------&c---"
        if {Logout.time.%Loop-player%} is 3:
            set bar title of loop-player to "&a----------------------------&c--"
        if {Logout.time.%Loop-player%} is 2:
            set bar title of loop-player to "&a-----------------------------&c-"
        if {Logout.time.%Loop-player%} is 1:
            set bar title of loop-player to "&a------------------------------"
        if {Logout.time.%Loop-player%} is 0:
            reset bar of loop-player
on quit:
    if {Logout.time.%player%} is bigger than 0:
        kill player

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...