So I was adding in donator icons, and in order to do so I also set the staff icons to a higher player right. So I got them all working for public chat fine, and private messaging in the chatbox. But when you use splitchat for private messaging the crowns are all different. I can't find where to change it. I tried what I know. This is what I current have for icons with private messaging:
Code:
if ((chatType == 3 || chatType == 7)
&& (splitPrivateChat == 0 || chatTypeView == 2)
&& (chatType == 7 || privateChatMode == 0 || privateChatMode == 1
&& isFriendOrSelf(s1))) {
if (chatTypeView == 2 || chatTypeView == 0) {
if (yPos > 0 && yPos < 210) {
int k1 = 11;
// textDrawingArea.method385(0, "From", yPos,
// k1);
// k1 += textDrawingArea.getTextWidth("From ");
newRegularFont.drawBasicString("From ", k1,
yPos, 0, -1);
if (byte0 == 5 || byte0 == 4 || byte0 == 3
|| byte0 == 2 || byte0 == 1 || byte0 == 0) {
k1 += textDrawingArea.getTextWidth("From ");
} else if (byte0 == 10 || byte0 == 9
|| byte0 == 8 || byte0 == 7 || byte0 == 6) {
k1 += textDrawingArea.getTextWidth("From ");
}
if (byte0 == 1) {
modIcons[5].drawSprite(k1 - 1, yPos - 11);
k1 += 12;
} else if (byte0 == 2) {
modIcons[4].drawSprite(k1 - 2, yPos - 13);
k1 += 12;
} else if (byte0 == 3) {
modIcons[0].drawSprite(k1 - 1, yPos - 11);
k1 += 12;
} else if (byte0 == 4) {
modIcons[2].drawSprite(k1, yPos - 10);
k1 += 12;
} else if (byte0 == 5) {
modIcons[2].drawSprite(k1, yPos - 10);
k1 += 12;
} else if (byte0 == 6) {
modIcons[5].drawSprite(k1 - 1, yPos - 11);
k1 += 12;
} else if (byte0 ==7) {
modIcons[4].drawSprite(k1 - 2, yPos - 13);
k1 += 12;
} else if (byte0 == 8) {
modIcons[0].drawSprite(k1 - 1, yPos - 11);
k1 += 12;
} else if (byte0 == 9) {
modIcons[2].drawSprite(k1, yPos - 10);
k1 += 12;
} else if (byte0 == 10) {
modIcons[2].drawSprite(k1, yPos - 10);
k1 += 12;
}
// textDrawingArea.method385(0, s1 + ":", yPos,
// k1);
// k1 += textDrawingArea.getTextWidth(s1) + 8;
// textDrawingArea.method385(0x800000,
// chatMessages[k], yPos, k1);
newRegularFont.drawBasicString(s1 + ":", k1,
yPos, 0, -1);
k1 += newRegularFont.getTextWidth(s1) + 8;
newRegularFont.drawBasicString(chatMessages[k],
k1, yPos, 0x800000, -1);
}
j++;
j77++;
}
}