This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
cathook/include/reclasses/CTFPlayerShared.hpp
2017-11-24 21:46:19 +03:00

14 lines
335 B
C++

class CTFPlayerShared
{
public:
inline static float GetCritMult(CTFPlayerShared *self)
{
return ((fminf(fmaxf(*(float *)(unsigned(self) + 672) * 0.0039215689f, 0.0f), 1.0f) * 3.0f) + 1.0f);
}
inline static bool IsCritBoosted(CTFPlayerShared *self)
{
// TODO signature
return false;
}
};