Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef void ( *CL_MoveFn )( float accumulated_extra_samples, bool bFinalTick );
- CL_MoveFn oCL_Move = NULL;
- void hkCL_Move( float accumulated_extra_samples, bool bFinalTick )
- {
- oCL_Move( accumulated_extra_samples, bFinalTick );
- if( GetAsyncKeyState( VK_SHIFT ) )
- {
- for( int i = 0; i < 5; i++ )
- oCL_Move( accumulated_extra_samples, bFinalTick );
- }
- }
- DWORD_PTR dwClientMove = m_dwEngine + 0x424F0;
- oCL_Move = ( CL_MoveFn )g_pBaseHook->DetourHook( ( PBYTE )dwClientMove, ( PBYTE )hkCL_Move );
Advertisement
Add Comment
Please, Sign In to add comment