struct SCVars {
void antiAfk(float Value) {
(float)((uintptr_t)this + 0x944) = Value;
(float)((uintptr_t)this + 0x948) = Value;
}
}
Вызов:
if (SCVars* pVar = SSystemGlobalEnvironment::Singleton()->GetIGame()->GetCVars())
{
pVar->antiAfk(9999999.0f);
}