-
Автор темы
- #1
C++:
void Client::BackupPlayers(bool restore) {
for (int i = 1; i <= g_csgo.m_globals->m_max_clients; ++i) {
Player* player = g_csgo.m_entlist->GetClientEntity<Player*>(i);
if (!g_aimbot.IsValidTarget(player))
continue;
if (restore)
g_aimbot.m_backup[i - 1].restore(player);
else
g_aimbot.m_backup[i - 1].store(player);
}
}