From f82c22a1600aa698354e212b4b2870bd66d212b1 Mon Sep 17 00:00:00 2001 From: zaCade Date: Tue, 11 Jun 2019 19:42:40 +0200 Subject: [PATCH] Add late load support. --- entWatch4/scripting/entWatch-restrictions.sp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/entWatch4/scripting/entWatch-restrictions.sp b/entWatch4/scripting/entWatch-restrictions.sp index 3707541..3228222 100644 --- a/entWatch4/scripting/entWatch-restrictions.sp +++ b/entWatch4/scripting/entWatch-restrictions.sp @@ -80,6 +80,15 @@ public void OnPluginStart() RegConsoleCmd("sm_restrictions", Command_DisplayRestrictions); RegConsoleCmd("sm_status", Command_DisplayStatus); + + for (int client = 1; client <= MaxClients; client++) + { + if (IsClientConnected(client) + OnClientPutInServer(client); + + if (AreClientCookiesCached(client) + OnClientCookiesCached(client); + } } //----------------------------------------------------------------------------------------------------