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);
För närvarande Offline
Utvald konstmonter
bmw
Konstmonter
Favoritgrupp
n͏i͏g͏h͏t ͏l͏i͏f͏e - Offentlig grupp
There is only one real life, night life.
2 831
Medlemmar
91
Spelar
422
Online
111
I chatt
Senaste aktiviteterna
1 055 timmar totalt
spelades senast den 23 jan
514 timmar totalt
spelades senast den 22 jan
1 164 timmar totalt
spelades senast den 18 jan
Sasar 2 dec, 2024 @ 15:22 
nice game bro
Goltikree 18 nov, 2024 @ 8:24 
+rep impeccable game play
Anarantrius 3 nov, 2024 @ 9:25 
cool moves
ej7ur. 23 aug, 2024 @ 5:24 
yo mate, add me please :)
Arcanefire 22 aug, 2024 @ 12:32 
strategic player, excellent decision-making, let's keep outwitting our opponents
76561199620613664 22 aug, 2024 @ 10:51 
skilled marksman, deadly accuracy, let's stay on top of the leaderboard