Add OnClientSettingsChanged to IPlayerHelpers (bug 4812, r=fyren)
This commit is contained in:
+10
-1
@@ -41,7 +41,7 @@
|
||||
#include <IAdminSystem.h>
|
||||
|
||||
#define SMINTERFACE_PLAYERMANAGER_NAME "IPlayerManager"
|
||||
#define SMINTERFACE_PLAYERMANAGER_VERSION 12
|
||||
#define SMINTERFACE_PLAYERMANAGER_VERSION 13
|
||||
|
||||
struct edict_t;
|
||||
class IPlayerInfo;
|
||||
@@ -347,6 +347,15 @@ namespace SourceMod
|
||||
virtual void OnMaxPlayersChanged(int newvalue)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Notifies the extension that a clients settings changed
|
||||
*
|
||||
* @param client Client index.
|
||||
*/
|
||||
virtual void OnClientSettingsChanged(int client)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
#define COMMAND_FILTER_ALIVE (1<<0) /**< Only allow alive players */
|
||||
|
||||
Reference in New Issue
Block a user