Cant figure out how to achieve it but i want to make sure the icon is displayed to the right of the name because now it doesnt scale depending on the size of name because its hardcoded value .Anyone know how to make dynamic and place it depending on the name of person?
LUA:
if (m_special != Otc::SpecialIconNone && m_pvpRankTexture) {
Rect SpecialIconRect(backgroundRect.x() + 16.5 + 12 + 12, backgroundRect.y() - 19, m_pvpSpecialkTexture->getSize());
g_drawQueue->addTexturedRect(SpecialIconNone, m_pvpSpecialTexture, Rect(0, 0, m_pvpSpecialTexture->getSize()));
}