Hello there, I have ctf skript made, works fine however since I disabled event damage and when I fall into void or someone else falls into void it doesn't kill us.
[doublepost=1558997129,1558997063][/doublepost]
[doublepost=1558997129,1558997063][/doublepost]
Code:
on damage:
cancel event
if {CTF::PLAYERS::%attacker%::IN-GAME} is true:
if {CTF::PLAYERS::%victim%::IN-GAME} is true:
if {CTF::ARENAS::%{CTF::PLAYERS::%attacker%::ARENA}%::STATE} = 1:
if {CTF::PLAYERS::%attacker%::TEAM} != {CTF::PLAYERS::%victim%::TEAM}:
uncancel event