Hello,
I have a problem with cancel friendly fire.
My code is:
on damage:
attacker is a player
victim is a player
if {Group.%uuid of victim%} equals to {Group.%uuid of attacker%}:
cancel event
The error is:
'{Group.%uuid of victim%} equals to {Group.%uuid of attacker%}' is not a boolean (yes/no)
Thanks!
I have a problem with cancel friendly fire.
My code is:
on damage:
attacker is a player
victim is a player
if {Group.%uuid of victim%} equals to {Group.%uuid of attacker%}:
cancel event
The error is:
'{Group.%uuid of victim%} equals to {Group.%uuid of attacker%}' is not a boolean (yes/no)
Thanks!