VOID AimbotHacks()
{
DWORD PTR_PLAYER = *(DWORD*)Player;
if ( PTR_PLAYER != 0 )
{
if( SeeDown )
{
p_Local->Pitch += 150;
}
if ( AimBot )
{
NoRecoil = 1;
if ( AimDistance )
{
if ( AimKey == 0 )
{
if ( AimType == 1 )
{
p_Local->Pitch = CalculatePitch(GetNearestPlayer());
p_Local->Yaw = CalculateYaw(GetNearestPlayer());
}
if ( AimType == 2 )
{
p_Local->Pitch = CalculatePitch(GetCrossHairPlayer());
p_Local->Yaw = CalculateYaw(GetCrossHairPlayer());
}
}
if ( AimKey == 1 )
{
if ( GetAsyncKeyState ( VK_RBUTTON ) )
{
if ( AimType == 1 )
{
p_Local->Pitch = CalculatePitch(GetNearestPlayer());
p_Local->Yaw = CalculateYaw(GetNearestPlayer());
}
if ( AimType == 2 )
{
p_Local->Pitch = CalculatePitch(GetCrossHairPlayer());
p_Local->Yaw = CalculateYaw(GetCrossHairPlayer());
}
}
}
if ( AimKey == 2 )
{
if ( GetAsyncKeyState ( VK_LBUTTON ) )
{
if ( AimType == 1 )
{
p_Local->Pitch = CalculatePitch(GetNearestPlayer());
p_Local->Yaw = CalculateYaw(GetNearestPlayer());
}
if ( AimType == 2 )
{
p_Local->Pitch = CalculatePitch(GetCrossHairPlayer());
p_Local->Yaw = CalculateYaw(GetCrossHairPlayer());
}
}
}
if ( AimKey == 3 )
{
if ( GetAsyncKeyState ( VK_MENU ) )
{
if ( AimType == 1 )
{
p_Local->Pitch = CalculatePitch(GetNearestPlayer());
p_Local->Yaw = CalculateYaw(GetNearestPlayer());
}
if ( AimType == 2 )
{
p_Local->Pitch = CalculatePitch(GetCrossHairPlayer());
p_Local->Yaw = CalculateYaw(GetCrossHairPlayer());
}
}
}
}
}
}
}
You Need Structs For it too

Goodluck
