-
Автор темы
- #1
C++:
#pragma once
void AntiAfk()
{
SSystemGlobalEnvironment* pGlobal = SSystemGlobalEnvironment::GetInstance(); if (!pGlobal) return;
IGame* pGame = pGlobal->GetGame(); if (!pGame) return;
ICVars* pCvar = ICVars::GetInstance(); if (!pCvar) return;
pCvar->AFKTime(99999.f);