Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CGame::BunnyHop( )
- {
- if ( !GetAsyncKeyState ( VK_SPACE ) || !vars.misc_bunnyhop )
- {
- Sleep ( 10 );
- return;
- }
- hl2->write< int >( hl2->m_client + 0x3E71E4, 4 );
- int iFlags = hl2->read< int >( hl2->read< DWORD_PTR >( hl2->m_client + 0x3B51C4 ) + 0x2B4 );
- if( iFlags & ( 1 << 0 ) )
- {
- hl2->write< int >( hl2->m_client + 0x3E71E4, 5 );
- Sleep( 40 );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement