Mam problem otóż mam skrypt na anti logout i nie działa. Wyskakuje mi 7 błędów i każdy związany z bossbarem.
Ktoś coś?
on damage of player:
if attacker is a player:
if {antylogout::walka::%attacker%} is false:
if {antylogout::walka::%victim%} is false:
set {antylogout::walka::%attacker%} to true
set {antylogout::walka::%victim%} to true
set {_bossbar} to 100
loop 100 times:
wait 0.25 seconds
remove 1 from {_bossbar}
display "&cAnty LogOut" on bossbar with {_bossbar} percent by 0.3 seconds for attacker
display "&cAnty LogOut" on bossbar with {_bossbar} percent by 0.3 seconds for victim
display "&aAnty LogOut" on bossbar with {_bossbar} percent by 1 seconds for attacker
display "&aAnty LogOut" on bossbar with {_bossbar} percent by 1 seconds for victim
set {antylogout::walka::%attacker%} to false
set {antylogout::walka::%victim%} to false
else:
if {antylogout::walka::%victim%} is false:
set {antylogout::walka::%victim%} to true
set {_bossbar} to 100
loop 100 times:
wait 0.25 seconds
remove 1 from {_bossbar}
display "&cAnty LogOut" on bossbar with {_bossbar} percent by 0.3 seconds for victim
display "&aAnty LogOut" on bossbar with {_bossbar} percent by 1 seconds for victim
set {antylogout::walka::%victim%} to false
on quit:
if {antylogout::walka::%player%} is true:
cancel event
Pytanie
Igor Sawicki 5
Mam problem otóż mam skrypt na anti logout i nie działa. Wyskakuje mi 7 błędów i każdy związany z bossbarem.
Ktoś coś?
on damage of player: if attacker is a player: if {antylogout::walka::%attacker%} is false: if {antylogout::walka::%victim%} is false: set {antylogout::walka::%attacker%} to true set {antylogout::walka::%victim%} to true set {_bossbar} to 100 loop 100 times: wait 0.25 seconds remove 1 from {_bossbar} display "&cAnty LogOut" on bossbar with {_bossbar} percent by 0.3 seconds for attacker display "&cAnty LogOut" on bossbar with {_bossbar} percent by 0.3 seconds for victim display "&aAnty LogOut" on bossbar with {_bossbar} percent by 1 seconds for attacker display "&aAnty LogOut" on bossbar with {_bossbar} percent by 1 seconds for victim set {antylogout::walka::%attacker%} to false set {antylogout::walka::%victim%} to false else: if {antylogout::walka::%victim%} is false: set {antylogout::walka::%victim%} to true set {_bossbar} to 100 loop 100 times: wait 0.25 seconds remove 1 from {_bossbar} display "&cAnty LogOut" on bossbar with {_bossbar} percent by 0.3 seconds for victim display "&aAnty LogOut" on bossbar with {_bossbar} percent by 1 seconds for victim set {antylogout::walka::%victim%} to false on quit: if {antylogout::walka::%player%} is true: cancel eventOdnośnik do komentarza
https://skript.pl/temat/46687-bossbar-nie-wy%C5%9Bwietla-si%C4%99/Udostępnij na innych stronach
1 odpowiedź 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ą.