-
Автор темы
- #1
[LIKES = 15] ugyldig CResolver :: Logic (IBasePlayer * Dlayer)
{
if (! vars.ragebot.resolver)
komme tilbake
for (int i = 1; i <= interfaces.global_vars-> maxClients; i ++)
{
auto player = csgo-> local;
if (! player ||! player-> isAlive () || player-> IsDormant () || player == csgo-> local)
Fortsette;
auto feet_yaw = player-> GetAnimOverlay (3) -> m_flCycle> 0.9f && player-> GetAnimOverlay (3) -> m_flWeight> 0.9f && player-> GetVelocity (). Length2D () <0.1f;
auto body_max_rotation = 60.f;
if (feet_yaw <= 60)
{
if (-60> feet_yaw)
spiller-> GetEyeAngles (). y == body_max_rotation + player-> GetEyeAngles (). y;
}
ellers
{
spiller-> GetEyeAngles (). y == body_max_rotation - player-> GetEyeAngles (). y;
}
if (player-> GetAnimOverlay (3) -> m_flCycle> 0,9)
{
for (int resol_delta = 60.f; resol_delta <-60.f; resol_delta = resol_delta - 20.f)
{
spiller-> GetEyeAngles (). y == resol_delta;
}
}
}
} [/ LIKES]
{
if (! vars.ragebot.resolver)
komme tilbake
for (int i = 1; i <= interfaces.global_vars-> maxClients; i ++)
{
auto player = csgo-> local;
if (! player ||! player-> isAlive () || player-> IsDormant () || player == csgo-> local)
Fortsette;
auto feet_yaw = player-> GetAnimOverlay (3) -> m_flCycle> 0.9f && player-> GetAnimOverlay (3) -> m_flWeight> 0.9f && player-> GetVelocity (). Length2D () <0.1f;
auto body_max_rotation = 60.f;
if (feet_yaw <= 60)
{
if (-60> feet_yaw)
spiller-> GetEyeAngles (). y == body_max_rotation + player-> GetEyeAngles (). y;
}
ellers
{
spiller-> GetEyeAngles (). y == body_max_rotation - player-> GetEyeAngles (). y;
}
if (player-> GetAnimOverlay (3) -> m_flCycle> 0,9)
{
for (int resol_delta = 60.f; resol_delta <-60.f; resol_delta = resol_delta - 20.f)
{
spiller-> GetEyeAngles (). y == resol_delta;
}
}
}
} [/ LIKES]