Fix GetClientCount(false)

This commit is contained in:
BotoX
2019-12-05 18:56:28 +01:00
parent 30d8882833
commit 2837dd77a5
4 changed files with 47 additions and 15 deletions
+9 -2
View File
@@ -41,7 +41,7 @@
#include <IAdminSystem.h>
#define SMINTERFACE_PLAYERMANAGER_NAME "IPlayerManager"
#define SMINTERFACE_PLAYERMANAGER_VERSION 21
#define SMINTERFACE_PLAYERMANAGER_VERSION 22
struct edict_t;
class IPlayerInfo;
@@ -543,10 +543,17 @@ namespace SourceMod
/**
* @brief Returns the number of players currently connected.
*
* @return Current number of connected clients.
* @return Current number of connected players.
*/
virtual int GetNumPlayers() =0;
/**
* @brief Returns the number of clients currently connected.
*
* @return Current number of connected clients.
*/
virtual int GetNumClients() =0;
/**
* @brief Returns the client index by its userid.
*