why this code isn't working I can still pk my guild mate if I use PKMode.Team
Quote:
if (Attacked.EntityFlag != EntityFlag.Monster)
if (Attacker.PKMode == Enums.PKMode.Team || Attacker.PKMode == Enums.PKMode.Peace)
if (Attacker.Guild != null)
if (Attacked.Guild != null)
if (Attacked.GuildID == Attacker.GuildID)
return false;