haunt
may 26/22🕊️
 
 
void AimAtPos(float x, float y)
{
//By Haunt
float ScreenCenterX = (this.Width / 2);
float ScreenCenterY = (this.Height / 2);
float TargetX = 0;
float TargetY = 0;
if (x != 0)
{
if (x > ScreenCenterX)
{
TargetX = -(ScreenCenterX - x);
TargetX /= AimSpeed;
if (TargetX + ScreenCenterX > ScreenCenterX * 2) TargetX = 0;
}

if (x < ScreenCenterX)
{
TargetX = x - ScreenCenterX;
TargetX /= AimSpeed;
if (TargetX + ScreenCenterX < 0) TargetX = 0;
}
}
if (y != 0)
{
if (y > ScreenCenterY)
{
TargetY = -(ScreenCenterY - y);
TargetY /= AimSpeed;
if (TargetY + ScreenCenterY > ScreenCenterY * 2) TargetY = 0;
}

if (y < ScreenCenterY)
{
TargetY = y - ScreenCenterY;
TargetY /= AimSpeed;
if (TargetY + ScreenCenterY < 0) TargetY = 0;
}
}
if (!smooth)
{
mouse_event(0x0001, (uint)(TargetX), (uint)(TargetY), NULL, NULLPTR);
return;
}
TargetX /= 10;
TargetY /= 10;
if (Math.Abs(TargetX) < 1)
{
if (TargetX > 0)
{
TargetX = 1;
}
if (TargetX < 0)
{
TargetX = -1;
}
}
if (Math.Abs(TargetY) < 1)
{
if (TargetY > 0)
{
TargetY = 1;
}
if (TargetY < 0)
{
TargetY = -1;
}
}
mouse_event(0x0001, (uint)TargetX, (uint)TargetY, NULL, NULLPTR);
Currently Online
Featured Artwork Showcase
bmw
1
Artwork Showcase
Favorite Guide
Favorite Group
There is only one real life, night life.
2,816
Members
53
In-Game
290
Online
109
In Chat
Recent Activity
485 hrs on record
last played on 25 Nov
108 hrs on record
last played on 24 Nov
147 hrs on record
last played on 23 Nov
Goltikree 18 Nov @ 8:24am 
+rep impeccable game play
Anarantrius 3 Nov @ 9:25am 
cool moves
ej7ur. 23 Aug @ 5:24am 
yo mate, add me please :)
Arcanefire 22 Aug @ 12:32pm 
strategic player, excellent decision-making, let's keep outwitting our opponents
76561199620613664 22 Aug @ 10:51am 
skilled marksman, deadly accuracy, let's stay on top of the leaderboard
Sleep ⁺˚*・༓☾ 14 Aug @ 8:06am 
+rep carried us on mirage cs2 ggwp haunt