Witam chcialbym by ktos poprawil skrypt na antylogouta bledy to, ze jak bede bil gracza np. za drugim razem actionbar sie nie resetuje:
on quit:
{in.combat.%player%} is true
kill player
teleport player to {spawn}
broadcast "<lightred>%player% zostal zabity za probe ucieczki z walki!"
delete {in.combat.%player%}
delete {seconds.until.out.%player%}
on damage:
victim is player
attacker is player
if {ochrona.%victim%} is true:
cancel event
if {ochrona.%attacker%} is true:
cancel event
else:
if {in.combat.%victim%} is true:
set {seconds.until.out.%victim%} to 10
stop
send "<lightred>Jestes w walce. Nie wychodz z gry!" to victim
set {in.combat.%victim%} to true
set action bar of victim to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l10.&K00&c&l SEKUND! &7&k;;;"
set action bar of attacker to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l10.&K00&c&l SEKUND! &7&k;;;"
wait 1 second
set action bar of victim to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l9.&K00&c&l SEKUND! &7&k;;;"
set action bar of attacker to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l9.&K00&c&l SEKUND! &7&k;;;"
wait 1 second
set action bar of victim to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l8.&K00&c&l SEKUND! &7&k;;;"
set action bar of attacker to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l8.&K00&c&l SEKUND! &7&k;;;"
wait 1 second
set action bar of victim to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l7.&K00&c&l SEKUND! &7&k;;;"
set action bar of attacker to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l7.&K00&c&l SEKUND! &7&k;;;"
wait 1 second
set action bar of victim to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l6.&K00&c&l SEKUND! &7&k;;;"
set action bar of attacker to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l6.&K00&c&l SEKUND! &7&k;;;"
wait 1 second
set action bar of victim to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l5.&K00&c&l SEKUND! &7&k;;;"
set action bar of attacker to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l5.&K00&c&l SEKUND! &7&k;;;"
wait 1 second
set action bar of victim to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l4.&K00&c&l SEKUND! &7&k;;;"
set action bar of attacker to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l4.&K00&c&l SEKUND! &7&k;;;"
wait 1 second
set action bar of victim to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l3.&K00&c&l SEKUND! &7&k;;;"
set action bar of attacker to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l3.&K00&c&l SEKUND! &7&k;;;"
wait 1 second
set action bar of victim to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l2.&K00&c&l SEKUND! &7&k;;;"
set action bar of attacker to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l2.&K00&c&l SEKUND! &7&k;;;"
wait 1 second
set action bar of victim to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l1.&K00&c&l SEKUND! &7&k;;;"
set action bar of attacker to "&7&k;;;&r &4&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &c&l1.&K00&c&l SEKUND! &7&k;;;"
wait 1 second
set action bar of attacker to "&a&l&k;;;&a&l MOZESZ SIE WYLOGOWAC! &a&l&k;;;" for 5 seconds
while {seconds.until.out.%victim%} is more than 1:
{seconds.until.out.%victim%} is not set:
stop
subtract 1 from {seconds.until.out.%victim%}
wait 0 second
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %attacker% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %attacker% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %attacker% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %attacker% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
delete {in.combat.%victim%}
delete {seconds.until.out.%victim%}'
delete {in.combat.%victim%}
delete {seconds.until.out.%victim%}
send "<lightgreen>Mozesz sie bezpiecznie wylogowac" to victim
on death of player:
set {in.combat.%player%} to false
Pytanie
fitofep 4
Witam chcialbym by ktos poprawil skrypt na antylogouta bledy to, ze jak bede bil gracza np. za drugim razem actionbar sie nie resetuje:
Odnośnik do komentarza
Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.