This code is only ready for 45% if you know how to complete it write about it here
Search: sMsg = applyProfanityFilter(sMsg.c_str()); and past below
Search: sMsg = applyProfanityFilter(sMsg.c_str()); and past below
Code:
//////////////////////CLAN TEG//////////////////////////
wiCharDataFull& slot = gUserProfile.ProfileData.ArmorySlots[gUserProfile.SelectedCharID];
int Colorid = slot.ClanTagColor;
const char* tagColor = "#000000";
switch (Colorid)
{
case 1:
tagColor = "#FF0000";
break;
case 2:
tagColor = "#FFB300";
break;
case 3:
tagColor = "#00FFF5";
break;
case 4:
tagColor = "#15FF00";
break;
case 5:
tagColor = "#006BFF";
break;
case 6:
tagColor = "#E700FF";
break;
case 7:
tagColor = "#6E6E6E";
break;
case 8:
tagColor = "#D1D1D1";
break;
default:
break;
}
if (slot.ClanID != 0)
sprintf(tmpMsg
, "<font color=\"%s\">[%s]</font> <font color=\"%s\">[%s]</font> <font color=\"%s\">%s%s:</font> <font color=\"%s\">%s</font>"
, tabNamesColor[tabIndex]
, tabNames[tabIndex]
, tagColor
, slot.ClanTag
, userColor
, namePrefix
, sUser.c_str()
, textColor
, sMsg.c_str());
else
///////////////////////////////////////////////////////////////////////////////////////////////////
Last edited by a moderator: