Mozecie mi dodac do tego skryptu, ze nie mozna otwierac skrzynek, enderchestow podczas trwania pvp?
Cytat
on damage of player:
if attacker is a player:
if {al.%victim%} is not set:
set {al.%victim%} to false
if {al.%attacker%} is not set:
set {al.%attacker%} to false
if {al.%attacker%} is false:
if {al.%victim%} is false:
set {al.%attacker%} to true
set {al.%victim%} to true
set {al.c.%attacker%} to 0
set {al.c.%victim%} to 0
send "&cWalczysz z &6%attacker%! &cNie mozesz sie wylogowac przez 20 sekund!" to victim
send "&cWalczysz z &6%victim%! &cNie mozesz sie wylogowac przez 20 sekund!" to attacker
else:
set {al.c.%victim%} to 0
set {al.c.%attacker%} to 0
send "&cWalczysz z &6%victim%! &cNie mozesz sie wylogowac przez 20 sekund!" to attacker
set {al.%attacker%} to true
else:
set {al.c.%attacker%} to 0
set {al.c.%victim%} to 0
if {al.%victim%} is false:
send "&cWalczysz z &6%attacker%! &cNie mozesz sie wylogowac przez 20 sekund!" to victim
set {al.%victim%} to true
every 1 second:
loop all players:
if {al.%loop-player%} is true:
add 1 to {al.c.%loop-player%}
if {al.c.%loop-player%} is more than 20 or 20:
set {al.%loop-player%} to false
send "&2Zakonczyles walke. Mozesz sie wylogowac!" to loop-player
on quit:
if {al.%player%} is true:
kill player
set {al.%player%} to false
send "&cGracz &6%player% &cwylogowal sie podczas walki!" to all players
on death:
if {al.%player%} is true:
set {al.%player%} to false
on command:
if command is not "antylogout":
if {al.%player%} is true:
if player has permission "antylogout.admin":
stop
else:
cancel event
send "&cNie mozesz uzywac komend podczas walki!"
command /antylogout:
trigger:
if {al.%player%} is true:
send "&cNie mozesz sie wylogowac!"
else:
send "&aMozesz sie wylogowac"
Pytanie
offonoff 0
Mozecie mi dodac do tego skryptu, ze nie mozna otwierac skrzynek, enderchestow podczas trwania pvp?
Odnośnik do komentarza
Udostępnij na innych stronach
4 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ą.