-
Автор темы
- #1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
one of 8 resolvers atm maybe gonna upload the rest
if (Menu::Window.RageBotTab.AccuracyResolverYaw.GetIndex() == 6 || Menu::Window.RageBotTab.AccuracyResolverPitch.GetIndex() == 1)
{
IClientEntity* pClient = (IClientEntity*)Interfaces::EntList->GetClientEntity(i);
Vector* eyeAngles = pEntity->GetEyeAnglesPointer();
Vector* angs = pClient->GetEyeAnglesPointer();
static float OldLowerBodyYaws[64];
static float OldYawDeltas[64];
angs->y = pClient->GetLowerBodyYaw();
float CurYaw = pClient->GetLowerBodyYaw();
if (OldLowerBodyYaws != CurYaw) {
OldYawDeltas = eyeAngles->y - CurYaw;
OldLowerBodyYaws = CurYaw;
eyeAngles->y = CurYaw;
continue;
}
else {
eyeAngles->y = eyeAngles->y - OldYawDeltas;
}
}
{
IClientEntity* pClient = (IClientEntity*)Interfaces::EntList->GetClientEntity(i);
Vector* eyeAngles = pEntity->GetEyeAnglesPointer();
Vector* angs = pClient->GetEyeAnglesPointer();
static float OldLowerBodyYaws[64];
static float OldYawDeltas[64];
angs->y = pClient->GetLowerBodyYaw();
float CurYaw = pClient->GetLowerBodyYaw();
if (OldLowerBodyYaws != CurYaw) {
OldYawDeltas = eyeAngles->y - CurYaw;
OldLowerBodyYaws = CurYaw;
eyeAngles->y = CurYaw;
continue;
}
else {
eyeAngles->y = eyeAngles->y - OldYawDeltas;
}
}