- added 3 new natives for banning/unbanning and interception
- moved banning commands into new plugin, basebans - improved quality and input methods of ban commands - corrected svn props on a few files - added an IsLANServer() to IGameHelpers API - completely deprecated and removed old banning forwards --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401429
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
#include <edict.h>
|
||||
|
||||
#define SMINTERFACE_GAMEHELPERS_NAME "IGameHelpers"
|
||||
#define SMINTERFACE_GAMEHELPERS_VERSION 1
|
||||
#define SMINTERFACE_GAMEHELPERS_VERSION 2
|
||||
|
||||
/**
|
||||
* @file IGameHelpers.h
|
||||
@@ -111,6 +111,13 @@ namespace SourceMod
|
||||
* @return True on success, false on failure.
|
||||
*/
|
||||
virtual bool TextMsg(int client, int dest, const char *msg) =0;
|
||||
|
||||
/**
|
||||
* @brief Returns whether the server ls a LAN server.
|
||||
*
|
||||
* @return True if LAN server, false otherwise.
|
||||
*/
|
||||
virtual bool IsLANServer() =0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user