

















































Snap is likely the more correct oneCPlayer::Snap:const char *pName;
if(name_invisible(m_ClientID))
pName = "";
else
pName = Server()->ClientName(m_ClientID);
StrToInts(&pClientInfo->m_Name0, 4, pName); (edited)if(name_invisible(m_ClientID)), you can put any condition you likeif(g_Config.m_SvHideNameplates) 


Snap function?if statement I added?

Snap function decides what to send to the clientStrToInts(&pClientInfo->m_Name0, 4, Server()->ClientName(m_ClientID));if), we want to hide the player name (the line after the if), but if that condition doesn't hold (the else) we still want to show the normal player names (the line after the else). the next line (with the StrToInts) takes our new variable pName and writes it into the same position as the code did before
























