Ok.. this idea is for speed based hacking.. Sometimes when u be playing and camping a wall someone will start to spray and hit u.. but u won't lock and don't have time to shoot back due to u getting gayed... Well i used some shit and i tried to fix that problem. Here
Add default IsAimingAtMe code form OGC.
Then, get the 'Make You Own Timer' tut from G-D and make a timer.
Then make a bool for AimedAt and set it to false.
CODE
// G-BoT
void AimingAtMe( int ax )
{
if(IsAimingAtMe(ax))
{
BeginCount();
if(ThreeSecs && !gAimbot.target) { bool AimedAt = true; }
else if (!ThreeSecs || GetTickCount() < 1500 || gAimbot.target!=-1)
{
bool AimedAt = false;
}
if(!IsAimingAtMe(ax))
{
bool AimedAt = false;
}
}
}
^^ Thats the 'main' part. Now, add that anywhere. Make sure u added a timer, and use your settings. That says
- If is aiming at me then begin count... if the timer limit(3 seconds, i defined it to be 1.5 tho) is reached and I have no target then AimedAt is true, else if the time limit isn't passed or if i am aimed at for less then the timer is set to OR if i have a target then AimedAt is false or if thier not aiming at me then its false.
Now.. lets call it
CODE
if(cvar.gaim && !gAimbot.target && me.alive)
{ // If the cvar is on and i dont have a target and im alive...
if(AimedAt)
{ // If AimedAt bool is true...
cmd.exec("aimthru 1");
cmd.exec("lock 1");
// Lock 1 to keep on the target and Aimthur 1 to lock on his ass...
}
else if(!AimedAt)
{ // Else if aimedat is false...
cmd.exec("aimthru 0");
cmd.exec("lock 0");
// turn lock and aimthur off for regular play...
}
}
Something like that... fuck around wit it <3
Credit me, i showed Hikm this, i don't kno if he ever used it. <3