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-12-02 17:47:47 +03:00

18 lines
421 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;
}
};