Guest User

Untitled

a guest
Jan 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. bool CAimbot::bCanAim(CCSPlayer*pPlayer)
  2. {
  3. C_BaseCombatWeapon *pActiveWeapon = pPlayer->GetActiveWeapon();
  4.  
  5. if( !pActiveWeapon )
  6. return false;
  7.  
  8. int iClip = *Utils::MakePointer<int>( (UINT_PTR)pActiveWeapon, 0x168C );
  9.  
  10. if( iClip == 0 )
  11. return false;
  12.  
  13. return true;
  14. }
Add Comment
Please, Sign In to add comment