STEAM GROUP
hvh 2018 hvh 2018
STEAM GROUP
hvh 2018 hvh 2018
0
IN-GAME
2
ONLINE
Founded
6 January, 2018
ABOUT hvh 2018

zzz

typedef void(__thiscall* tOverrideMouseInput)(PVOID, float *x, float *y);
tOverrideMouseInput oOverrideMouseInput;
void __stdcall hkOverrideMouseInput(float *_x, float *_y)
{
oOverrideMouseInput(pClientMode, _x, _y);

//If there is no mouse movement then we don't want to do anything (you can change that if you want)
if (*(float*)_x == 0.0f || *(float*)_y == 0.0f)
return;

IClientEntity *pLocalEntity = pEntityList->GetClientEntity(pEngine->GetLocalPlayer());
if (!pLocalEntity)
return;

if (!pLocalEntity->IsAlive())
return;

CBaseCombatWeapon* pWeapon = (CBaseCombatWeapon*)pEntityList->GetClientEntityFromHandle(pLocalEntity->GetActiveWeaponHandle());
if (!pWeapon)
return;

/♥♥♥♥♥♥♥Golden Knife - I don't want aim assistance with knifes
int iWeaponClass = pWeapon->GetClientClass()->m_ClassID;
if (iWeaponClass == 90 || iWeaponClass == 91)
return;

//Grab our data...
QAngle ViewAngles;
pEngine->GetViewAngles(ViewAngles);
ViewAngles += pLocalEntity->GetPunchAngles() * 2.0f;
NormalizeAngles(ViewAngles);
Vector vecPlayer = pLocalEntity->GetOrigin();
Vector vecPlayerEyes = vecPlayer + pLocalEntity->GetEyePosition();
int iBestTarget = -1;
POPULAR DISCUSSIONS
1 Comments
1 Sep, 2022 @ 3:56am 
OWNER CAN YOU ADD ME ON STEAM AS QUICK AS POSSIBLE
VIEW ALL (4)
GROUP MEMBERS
Administrators
Members
0
IN-GAME
2
ONLINE
1 IN CHAT
Enter chat room
Founded
6 January, 2018