options:
czas: 10
on damage of player:
if attacker is a player:
if {walka.czas::%attacker%} isn't set:
execute console command "/fly %victim% off"
send "&c&lAntyLogout: &cJestes w walce nie mozesz sie wylogowac" to attacker
if {walka.czas::%victim%} isn't set:
execute console command "/fly %attacker% off"
send "&c&lAntyLogout: &cJestes w walce nie mozesz sie wylogowac" to victim
set {walka.czas::%victim%} to {@czas}
set {walka.czas::%attacker%} to {@czas}
on quit:
if {walka.czas::%player%} is set:
kill player
send "&c&lAntyLogout: &c%player% Wylogowal sie podczas walki!" to all players
clear {walka.czas::%{attacker.who::%player%}%}
clear {walka.czas::%player%}
every 1 second:
loop all players:
if {walka.czas::%loop-player%} is bigger than 0:
add -1 to {walka.czas::%loop-player%}
if {walka.czas::%loop-player%} is 0:
clear {walka.czas::%loop-player%}
send "&c&lAntyLogout: &aNie jestes juz w walce! Mozesz sie wylogowac!" to loop-player
on death of player:
clear {walka.czas::%{attacker.who::%player%}%}
clear {walka.czas::%player%}
on command:
if player doesn't have permission "antylogout.*":
if {walka.czas::%player%} is set:
cancel event
send "&c&lAntyLogout: &7Podczas pvp nie mozna uzywac komend!"
on join:
clear {walka.czas::%player%}
Chciałbym się pozbyć tych wiadomości od wyłączania fly
if {walka.czas::%attacker%} isn't set:
execute console command "/fly %victim% off"
send "&c&lAntyLogout: &cJestes w walce nie mozesz sie wylogowac" to attacker
if {walka.czas::%victim%} isn't set:
execute console command "/fly %attacker% off"
send "&c&lAntyLogout: &cJestes w walce nie mozesz sie wylogowac" to victim
Pytanie
Krystian Krycha 8
options: czas: 10 on damage of player: if attacker is a player: if {walka.czas::%attacker%} isn't set: execute console command "/fly %victim% off" send "&c&lAntyLogout: &cJestes w walce nie mozesz sie wylogowac" to attacker if {walka.czas::%victim%} isn't set: execute console command "/fly %attacker% off" send "&c&lAntyLogout: &cJestes w walce nie mozesz sie wylogowac" to victim set {walka.czas::%victim%} to {@czas} set {walka.czas::%attacker%} to {@czas} on quit: if {walka.czas::%player%} is set: kill player send "&c&lAntyLogout: &c%player% Wylogowal sie podczas walki!" to all players clear {walka.czas::%{attacker.who::%player%}%} clear {walka.czas::%player%} every 1 second: loop all players: if {walka.czas::%loop-player%} is bigger than 0: add -1 to {walka.czas::%loop-player%} if {walka.czas::%loop-player%} is 0: clear {walka.czas::%loop-player%} send "&c&lAntyLogout: &aNie jestes juz w walce! Mozesz sie wylogowac!" to loop-player on death of player: clear {walka.czas::%{attacker.who::%player%}%} clear {walka.czas::%player%} on command: if player doesn't have permission "antylogout.*": if {walka.czas::%player%} is set: cancel event send "&c&lAntyLogout: &7Podczas pvp nie mozna uzywac komend!" on join: clear {walka.czas::%player%}
Chciałbym się pozbyć tych wiadomości od wyłączania fly
if {walka.czas::%attacker%} isn't set:
execute console command "/fly %victim% off"
send "&c&lAntyLogout: &cJestes w walce nie mozesz sie wylogowac" to attacker
if {walka.czas::%victim%} isn't set:
execute console command "/fly %attacker% off"
send "&c&lAntyLogout: &cJestes w walce nie mozesz sie wylogowac" to victim
Czy da radę?
Odnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi