DWORD ClanTagOffset = U::FindPattern("engine.dll", "53 56 57 8B DA 8B F9 FF 15");
void CMiscellaneous::ClanTag()
{
CBaseEntity *Local = I::ClientEntList->GetClientEntity(I::Engine->GetLocalPlayer());
static int motion = 0;
int ServerTime = (float)G::LocalPlayer->GetTickBase() * I::Globals->interval_per_tick;
static int counter = 0;
static auto SetMyClanTag = reinterpret_cast<void(__fastcall*)(const char*, const char*)>(ClanTagOffset);
static auto SetMyClanTagTime = reinterpret_cast<void(__fastcall*)(const char*, WORD)>(ClanTagOffset);
if (counter % 48 == 0)
motion++;
int value = ServerTime % 26;
switch (value) {
case 0:SetMyClanTag(" ", "Elect"); break;
case 1:SetMyClanTag("S", "Elect"); break;
case 2:SetMyClanTag("SK", "Elect"); break;
case 3:SetMyClanTag("SKV", "Elect"); break;
case 4:SetMyClanTag("SKVE", "Elect"); break;
case 5:SetMyClanTag("SKVER", "Elect"); break;
case 6:SetMyClanTag("SKVERH", "Elect"); break;
case 7:SetMyClanTag("SKVERHA", "Elect"); break;
case 8:SetMyClanTag("SKVERHAC", "Elect"); break;
case 9:SetMyClanTag("SKVERHACK", "Elect"); break;
case 10:SetMyClanTag("SKVERHACK.", "Elect"); break;
case 11:SetMyClanTag("SKVERHACK.X", ""); break;
case 12:SetMyClanTag("SKVERHACK.XY", "Elect"); break;
case 13:SetMyClanTag("SKVERHACK.XYZ", "Elect"); break;
case 14:SetMyClanTag("SKVERHACK.XYZ", "Elect"); break;
case 15:SetMyClanTag("SKVERHACK.XY", "Elect"); break;
case 16:SetMyClanTag("SKVERHACK.X", "Elect"); break;
case 17:SetMyClanTag("SKVERHACK.", "Elect"); break;
case 18:SetMyClanTag("SKVERHAC", "Elect"); break;
case 19:SetMyClanTag("SKVERHA", "Elect"); break;
case 20:SetMyClanTag("SKVERH", "Elect"); break;
case 21:SetMyClanTag("SKVER", "Elect"); break;
case 22:SetMyClanTag("SKVE", "Elect"); break;
case 23:SetMyClanTag("SKV", "Elect"); break;
case 24:SetMyClanTag("SK", "Elect"); break;
case 25:SetMyClanTag("S", "Elect"); break;
case 26:SetMyClanTag("", "Elect"); break;
}
counter++;
}