1.1 --- a/sourcemm/sample_mm/SamplePlugin.h Thu May 26 08:06:23 2005 +0000
1.2 +++ b/sourcemm/sample_mm/SamplePlugin.h Thu May 26 08:32:34 2005 +0000
1.3 @@ -13,6 +13,9 @@
1.4
1.5 #include <ISmmPlugin.h>
1.6 #include <sourcehook/sourcehook.h>
1.7 +#include <igameevents.h>
1.8 +
1.9 +#define SAMPLE_VERSION "1.10"
1.10
1.11 class SamplePlugin : public ISmmPlugin
1.12 {
1.13 @@ -53,7 +56,7 @@
1.14 }
1.15 const char *GetVersion()
1.16 {
1.17 - return "1.00";
1.18 + return SAMPLE_VERSION;
1.19 }
1.20 const char *GetDate()
1.21 {
1.22 @@ -105,6 +108,7 @@
1.23 void ClientCommand(edict_t *pEntity);
1.24
1.25 private:
1.26 + IGameEventManager2 *m_GameEventManager;
1.27 IVEngineServer *m_Engine;
1.28 IServerGameDLL *m_ServerDll;
1.29 IServerGameClients *m_ServerClients;
1.30 @@ -114,4 +118,6 @@
1.31 extern SamplePlugin g_SamplePlugin;
1.32 PLUGIN_GLOBALVARS();
1.33
1.34 +bool FireEvent_Handler(IGameEvent *event, bool bDontBroadcast);
1.35 +
1.36 #endif //_INCLUDE_SAMPLEPLUGIN_H