- Joined
- Feb 17, 2011
- Messages
- 20
- Reaction score
- 1
How can i add Clan tag to Character Name into the chat window ?
Like this;
Like this;
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
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], slot.ClanTag, userColor, namePrefix, sUser.c_str(), textColor, sMsg.c_str());
else
sprintf(tmpMsg, "<font color="%s">[%s]</font> <font color="%s">%s%s:</font> <font color="%s">%s</font>", tabNamesColor[tabIndex], tabNames[tabIndex], userColor, namePrefix, sUser.c_str(), textColor, sMsg.c_str());
Not sure :
Code: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], slot.ClanTag, userColor, namePrefix, sUser.c_str(), textColor, sMsg.c_str()); else sprintf(tmpMsg, "<font color="%s">[%s]</font> <font color="%s">%s%s:</font> <font color="%s">%s</font>", tabNamesColor[tabIndex], tabNames[tabIndex], userColor, namePrefix, sUser.c_str(), textColor, sMsg.c_str());
tnx bro solved.