OldSchoolHack

Register / Login English

Hookless No Recoil

not available
File not available.

Description

TEXT Code:
  1. #include <Windows.h>
  2.  
  3. struct localweaponinfo_t
  4. {
  5. BYTE Unknown0[72];
  6. FLOAT Recoil[9];
  7. };
  8.  
  9. localweaponinfo_t* localweaponinfo = ( localweaponinfo_t* )0x79E700;
  10.  
  11. BOOL WINAPI RecoilThread( VOID* lpArguments )
  12. {
  13. while( TRUE )
  14. {
  15. for( INT i = 0; i < 9; i++ )
  16. localweaponinfo->Recoil[i] = 0.0f;
  17.  
  18. Sleep( 1 );
  19. }
  20.  
  21. return TRUE;
  22. }
  23.  
  24. BOOL WINAPI DllMain( HMODULE hModule, DWORD Reason, VOID* Reserved )
  25. {
  26. if( Reason == DLL_PROCESS_ATTACH )
  27. CreateThread( NULL, 0, ( LPTHREAD_START_ROUTINE )RecoilThread, NULL, 0, NULL );
  28.  
  29. return TRUE;
  30. }

There are no posts in this thread.