Core now detects and handles a changed maxplayers value (bug 2537 and bug 2758)
This commit is contained in:
+10
-1
@@ -41,7 +41,7 @@
|
||||
#include <IAdminSystem.h>
|
||||
|
||||
#define SMINTERFACE_PLAYERMANAGER_NAME "IPlayerManager"
|
||||
#define SMINTERFACE_PLAYERMANAGER_VERSION 7
|
||||
#define SMINTERFACE_PLAYERMANAGER_VERSION 8
|
||||
|
||||
struct edict_t;
|
||||
class IPlayerInfo;
|
||||
@@ -301,6 +301,15 @@ namespace SourceMod
|
||||
virtual void OnClientPostAdminCheck(int client)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Notifies the extension that the maxplayers value has changed
|
||||
*
|
||||
* @param newvalue New maxplayers value.
|
||||
*/
|
||||
virtual void OnMaxPlayersChanged(int newvalue)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
#define COMMAND_FILTER_ALIVE (1<<0) /**< Only allow alive players */
|
||||
|
||||
Reference in New Issue
Block a user