Originally Posted by
WasserEsser
Copy Pasta.
Code:
void Tick ( )
{
if ( Settings->GetBunnyhopEnabled ( ) )
{
if ( KeyEvents->GetBunnyhopKeyState ( ) )
{
CEngine * Engine;
CBaseEntity * Local = new CBaseEntity ( Engine->GetLocalPlayer ( ) );
if ( Local->GetEntityBaseAddress ( ) && !Local->GetLifeState ( ) )
{
if ( Local->GetFlags ( ) & ( 1 << 0 ) )
{
Engine->SetJump ( 1 );
Sleep ( 50 );
Engine->SetJump ( 0 );
}
}
delete [ ] Local;
}
}
}
i think he was joking .-.
--------------------
TO OP:
Get CrosshairID -> will return what is in front of your crosshair
Check if this ID is higher than 0 and less than 64
Check if this ID team is not from your team
Check if this ID is alive
Shoot...
Pseudo-Code:
Code:
~lethread
int ID = GetCrosshairID(); /* You can get it by reading, localplayerbase + crosshairidoffset and at final -1 */
if (ID > 0 ?? /* <---- something here */ ID < 64)
if (GetEntityTeam(ID) != GetLocalTeam()) /* Both of them you get reading basedata + TeamNum (0xF0) */
if (make the alive check, this one i will not give to you since i dont wanna feed)
Write 5 to shoot -> Client + attackoffset
Wait 8ms
Write 4 to un-hold
~leendthread