on quit:
{combatlog::players::%player%::in.combat} is true
kill player
broadcast "&4PvP &8» &c%player% &7Savaşırken çıktı ve geberdi."
delete {combatlog::players::%player%::*}
on command:
{combatlog::players::%player%::in.combat} is true
message "&cPvp sırasında komut yazamazsın"
cancel the event
on damage:
victim is a player
attacker is a player
if {combatlog::players::%victim%::in.combat} is true:
set attacker's flight mode to false
set {combatlog::players::%victim%::in.seconds.until.out} to 10
stop
send "&4PvP &8» &cSavaşa başladın, sakın oyundan çıkma!" to victim
set {combatlog::players::%victim%::in.combat} to true
set victim's flight mode to false
set {combatlog::players::%victim%::in.seconds.until.out} to 30
while {combatlog::players::%victim%::in.seconds.until.out} is more than 1:
{combatlog::players::%victim%::in.seconds.until.out} is not set:
stop
subtract 1 from {combatlog::players::%victim%::in.seconds.until.out}
wait 1 second
delete {combatlog::players::%victim%::in.combat}
delete {combatlog::players::%victim%::in.seconds.until.out}
send "&4PvP &8» &aSavaş bitti, oyundan ayrılabilirsin.." to victim
on death:
delete {combatlog::players::%victim%::in.combat}
delete {combatlog::players::%victim%::in.seconds.until.out}
on damage:
victim is a player
attacker is a player
if {combatlog::players::%attacker%::in.combat} is true:
set attacker's flight mode to false
set {combatlog::players::%attacker%::in.seconds.until.out} to 30
stop
send "&4PvP &8» &cSavaşa başladın, sakın oyundan çıkma!" to attacker
set {combatlog::players::%attacker%::in.combat} to true
set attacker's flight mode to false
set {combatlog::players::%attacker%::in.seconds.until.out} to 10
while {combatlog::players::%attacker%::in.seconds.until.out} is more than 1:
{combatlog::players::%attacker%::in.seconds.until.out} is not set:
stop
subtract 1 from {combatlog::players::%attacker%::in.seconds.until.out}
wait 1 second
delete {combatlog::players::%attacker%::in.combat}
delete {combatlog::players::%attacker%::in.seconds.until.out}
send "&4PvP &8» &aSavaş bitti, oyundan ayrılabilirsin.." to attacker
on join:
delete {combatlog::players::%player%::*}
on script load:
delete {combatlog::players::*}