From 7f552e4d7563c92c1057f9f110ec7f75ebf9aafc Mon Sep 17 00:00:00 2001 From: RumbleFrog Date: Wed, 23 May 2018 07:58:36 -0400 Subject: [PATCH] Deprecate GetMaxClients (#818) --- plugins/include/clients.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/include/clients.inc b/plugins/include/clients.inc index 3296b7ab..50ea2e6d 100644 --- a/plugins/include/clients.inc +++ b/plugins/include/clients.inc @@ -226,7 +226,7 @@ forward void OnClientPostAdminFilter(int client); forward void OnClientPostAdminCheck(int client); /** - * This function will be deprecated in a future release. Use the MaxClients variable instead. + * This function is deprecated. Use the MaxClients variable instead. * * Returns the maximum number of clients allowed on the server. This may * return 0 if called before OnMapStart(), and thus should not be called @@ -238,6 +238,7 @@ forward void OnClientPostAdminCheck(int client); * * @return Maximum number of clients allowed. */ +#pragma deprecated Use MaxClients variable instead. native int GetMaxClients(); /**