- 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:
David Anderson
2007-09-14 02:11:10 +00:00
parent f968fc1293
commit 74b23aebfe
14 changed files with 854 additions and 303 deletions
+8 -1
View File
@@ -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;
};
}