plist.Update();
if (Interfaces.pEngine->IsInGame() && Interfaces.pEngine->IsConnected())
{
if (curStage == FRAME_NET_UPDATE_POSTDATAUPDATE_START)
{
for (auto i = 0; i <= Interfaces.pEntList->GetHighestEntityIndex(); i++)
{
auto pEntity = static_cast<CBaseEntity*>(Interfaces.pEntList->GetClientEntity(i));
if (pEntity == nullptr)
continue;
if (pEntity == Hacks.LocalPlayer)
continue;
if (pEntity->GetTeam() == Hacks.LocalPlayer->GetTeam())
continue;
if (!pEntity->isAlive())
continue;
if (!(pEntity->GetHealth() > 0))
continue;
if (pEntity->IsDormant())
continue;
player_info_t info;
if (!(Interfaces.pEngine->GetPlayerInfo(pEntity->GetIndex(), &info)))
continue;
PlayerList::CPlayer* Player = plist.FindPlayer(pEntity);
Player->entity = pEntity;
Vector* angs = Player->entity->GetEyeAnglesPointer();
if (g_Options.Ragebot.Resolver) {
Resolver->AntiAimResolver(pEntity);
}
if (GetAsyncKeyState(g_Options.Ragebot.Accuracy.OverrideKey))
{
pResolverData[i].resolvermode = "Override";
pEntity->GetEyeAnglesPointer()->y = pEntity->GetEyeAnglesPointer()->y + 180.f;
}
}
}
}