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 Offline
Featured Artwork Showcase
bmw
Artwork Showcase
Favorite Group
There is only one real life, night life.
2,826
Members
126
In-Game
571
Online
110
In Chat
Recent Activity
3 hrs on record
last played on 30 Dec, 2024
1,051 hrs on record
last played on 29 Dec, 2024
511 hrs on record
last played on 27 Dec, 2024
Sasar 2 Dec, 2024 @ 3:22pm 
nice game bro
Goltikree 18 Nov, 2024 @ 8:24am 
+rep impeccable game play
Anarantrius 3 Nov, 2024 @ 9:25am 
cool moves
ej7ur. 23 Aug, 2024 @ 5:24am 
yo mate, add me please :)
Arcanefire 22 Aug, 2024 @ 12:32pm 
strategic player, excellent decision-making, let's keep outwitting our opponents
76561199620613664 22 Aug, 2024 @ 10:51am 
skilled marksman, deadly accuracy, let's stay on top of the leaderboard