Czy ktos umie zedytowac ten skirpt tak zeby po lognieciu gracza zostal on zabity ?
on damage:
if attacker is player:
if attacker's gamemode is survival:
set {czasl::%victim%} to 20
set {log::%victim%} to true
set {czasl::%attacker%} to 20
set {log::%attacker%} to true
every 1 second:
loop all players:
if {log::%loop-player%} is true:
if {czasl::%loop-player%} is greater than 0:
remove 1 from {czasl::%loop-player%}
display board named "&cANTY-LOGOUT" to loop-player
make score of "&cTIME:&7 %{czasl::%loop-player%}% s" in scoreboard of loop-player to 1
move display of loop-player to sidebar
else:
set {log::%loop-player%} to false
display board named "" to loop-player
make score of "" in scoreboard of loop-player to 1
move display of loop-player to sidebar
Pytanie
xfreduz 0
Czy ktos umie zedytowac ten skirpt tak zeby po lognieciu gracza zostal on zabity ?
on damage:
if attacker is player:
if attacker's gamemode is survival:
set {czasl::%victim%} to 20
set {log::%victim%} to true
set {czasl::%attacker%} to 20
set {log::%attacker%} to true
every 1 second:
loop all players:
if {log::%loop-player%} is true:
if {czasl::%loop-player%} is greater than 0:
remove 1 from {czasl::%loop-player%}
display board named "&cANTY-LOGOUT" to loop-player
make score of "&cTIME:&7 %{czasl::%loop-player%}% s" in scoreboard of loop-player to 1
move display of loop-player to sidebar
else:
set {log::%loop-player%} to false
display board named "" to loop-player
make score of "" in scoreboard of loop-player to 1
move display of loop-player to sidebar
Odnośnik do komentarza
https://skript.pl/temat/19332-anty-logout/Udostępnij na innych stronach
8 odpowiedzi na to pytanie
Rekomendowane odpowiedzi