static size_t lastTime = 0;
int server_time = g_LocalPlayer->m_nTickBase() * g_GlobalVars->interval_per_tick;
if (GetTickCount() > lastTime)
{
own++;
if (own > 10 && g_Options.misc_clantag) {
int value = server_time % 17;
switch (value)
{
case 0:Utils::SetClantag("C"); break;
case 1:Utils::SetClantag("Ch"); break;
case 2:Utils::SetClantag("Che"); break;
case 3:Utils::SetClantag("Chea"); break;
case 4:Utils::SetClantag("Cheat"); break;
case 5:Utils::SetClantag("Cheat"); break;
case 6:Utils::SetClantag("Cheat."); break;
case 7:Utils::SetClantag("Cheat.p"); break;
case 8:Utils::SetClantag("Cheat.pw"); break;
case 9:Utils::SetClantag("Cheat.p"); break;
case 10:Utils::SetClantag("Cheat."); break;
case 11:Utils::SetClantag("Cheat"); break;
case 12:Utils::SetClantag("Cheat"); break;
case 13:Utils::SetClantag("Chea"); break;
case 14:Utils::SetClantag("Che"); break;
case 15:Utils::SetClantag(Ch"); break;
case 16:Utils::SetClantag("C"); break;
}
lastTime = GetTickCount() + 1000; // Время в мс
}
if (own > 11) own = 0;
}