keybode

cs 1.6 external UpdateBoneMatrix

Aug 2nd, 2014
433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. void UpdateBoneMatrix ( void )
  2. {
  3.     while ( true )
  4.     {
  5.         DWORD dwEntity = 0;
  6.  
  7.         HalfLife.Read ( dwCurrentEntity, &dwEntity, sizeof(DWORD) );
  8.  
  9.         if ( !dwEntity )
  10.             continue;
  11.  
  12.         HalfLife.Read ( dwEntity, &dwEntity, sizeof(DWORD) );
  13.  
  14.         if ( !dwEntity || dwEntity > 32 )
  15.             continue;
  16.  
  17.         HalfLife.Read ( dwBoneTransform, &EntityBoneTransform[dwEntity], sizeof(TransformMatrix) );
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment