CS:GO Cheat Source (old bhop)


SUBMITTED BY: urrix

DATE: Aug. 10, 2016, 8:48 p.m.

UPDATED: Aug. 10, 2016, 9 p.m.

FORMAT: Text only

SIZE: 500 Bytes

HITS: 1519

  1. void Cheat::Run_Bhop( )
  2. {
  3. if(G::UserCmd->buttons & IN_JUMP && !(G::LocalPlayer->GetFlags( ) & FL_ONGROUND))
  4. {
  5. if(Config->GetValue( "Misc", "Bhop" ).m_bValue)
  6. G::UserCmd->buttons &= ~IN_JUMP;
  7. if(!Config->GetValue( "Misc", "Auto Strafe" ).m_bValue) return;
  8. bool backwards = false;// G::UserCmd->forwardmove < 0;
  9. if(G::UserCmd->mousedx < 0) G::UserCmd->sidemove = backwards ? 650.f : -650.f;
  10. if(G::UserCmd->mousedx > 0) G::UserCmd->sidemove = backwards ? -650.f : 650.f;
  11. }
  12. }

comments powered by Disqus