Official site anti-cheat Ultra Core Protector

Home Download F.A.Q. Addons Monitor Forum Support Advertise English version site UCP Anti-Cheat  Russian version site UCP Anti-Cheat
Ultra Core Protector - is the client-server anti-cheat freeware, for server protection from unscrupulous players.

Abilities Supported games  
Half-Life
Condition Zero
Counter-Strike 1.6
Day of Defeat
Adrenaline Gamer
Team Fortress Classic
Counter-Strike Source
MU Online
Ragnarok Online
Half-Life 2 Deathmatch
Adrenaline Gamer 2
Team Fortress 2
CSGO: Proper Lby timer

Does this seem like it would work?

bool NewTimer()
{
static int TESTERRR;
static float oldMemeTime;
int LbyBreakertimer;
static float nextLBYUpdate;
static float OldLBY;
static float lastUpdatetimeLBY;
float flServerTime = G::LocalPlayer->GetTickBase() * I::Globals->interval_per_tick;
if (G::LocalPlayer->GetAlive())
{
if (OldLBY != *G::LocalPlayer->GetLowerBodyYawTarget())
lastUpdatetimeLBY = flServerTime;
OldLBY = *G::LocalPlayer->GetLowerBodyYawTarget();
if (flServerTime > nextLBYUpdate && G::LocalPlayer->GetFlags() & FL_ONGROUND && G::LocalPlayer->GetVelocity().Length2D() < 0.1f) { nextLBYUpdate = flServerTime + 1.1; if (abs(nextLBYUpdate - lastUpdatetimeLBY) >= 1.1) {

LbyBreakertimer++;
if (TESTERRR != LbyBreakertimer && abs(oldMemeTime - I::Globals->curtime) > 0.8 && G::SendPacket == false) {
oldMemeTime = I::Globals->curtime;
TESTERRR = LbyBreakertimer;
return true;
}
else {

return false;

}

before i get hate im aware that theres a 99% chance this is completely wrong but im trying to do more on my own instead of pasting but i put together this timer because the one in our cheat uses latency which i was told is not supposed to be accounted for. i looked at purves and tried to replicate it in a much more simple way thanks for feed back.