Use IpHistory record and make player timer repeat

This commit is contained in:
Dawid Bepierszcz
2026-06-17 03:19:34 +02:00
parent b0c7fd12c3
commit a588267165
3 changed files with 20 additions and 17 deletions

View File

@@ -283,7 +283,7 @@ internal class PlayerManager
if (player == null || !player.IsValid || player.PlayerName == name) continue;
player.Rename(name);
}
});
}, TimerFlags.REPEAT);
CS2_SimpleAdmin.Instance.PlayersTimer = CS2_SimpleAdmin.Instance.AddTimer(61.0f, () =>
{