final Player tmp = getClient().getPlayer();
final Party party = tmp.getParty();
if (tmp != null && party != null && party.equals(_player.getParty()) && !party.isLeader(_player))
writeC(0x01); // team circle around feet 1= Blue, 2 = red
else if (tmp != null && party != null && party.equals(_player.getParty()) && party.isLeader(_player))
writeC(0x02); // team circle around feet 1= Blue, 2 = red
else
writeC(_player.getTeam().getId());
this is for red and blue. Also broadcastCharInfo in Party/Disband, Leave and you are good. for different colors im not sure if its possible.
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..