void DrawName(IEntity* m_pEntity, DWORD color)
{
Vec3 Ground, vGround;
Ground = CryEngine::getCurrentPosition(m_pEntity);
const char* cNickName = m_pEntity->GetName();
std::string sNickName = CryEngine::utf8ToCP1251(cNickName);
if (CryEngine::worldToScreen(Ground, &vGround))
{
draw.DrawString(vGround.x, vGround.y + 1, color, DT_CENTER | DT_NOCLIP, sNickName.c_str());
}
}