amb283 - Renamed IsPlayerInGame() to IsClientInGame()
3 * ===============================================================
4 * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved.
5 * ===============================================================
7 * This file is part of the SourceMod/SourcePawn SDK. This file may only be used
8 * or modified under the Terms and Conditions of its License Agreement, which is found
9 * in LICENSE.txt. The Terms and Conditions for making SourceMod extensions/plugins
10 * may change at any time. To view the latest information, see:
11 * http://www.sourcemod.net/license.php
16 #if defined _core_included
19 #define _core_included
23 #define SOURCEMOD_PLUGINAPI_VERSION 2
31 * Function helper values.
35 INVALID_FUNCTION = -1,
39 * Specifies what to do after a hook completes.
43 Plugin_Continue = 0, /**< Continue with the original action */
44 Plugin_Handled = 3, /**< Handle the action at the end (don't call it) */
45 Plugin_Stop = 4, /**< Immediately stop the hook chain and handle the original */
48 public PlVers:__version =
50 version = SOURCEMOD_PLUGINAPI_VERSION,
51 filevers = SOURCEMOD_VERSION
55 * Plugin status values.
59 Plugin_Running=0, /**< Plugin is running */
60 /* All states below are "temporarily" unexecutable */
61 Plugin_Paused, /**< Plugin is loaded but paused */
62 Plugin_Error, /**< Plugin is loaded but errored/locked */
63 /* All states below do not have all natives */
64 Plugin_Loaded, /**< Plugin has passed loading and can be finalized */
65 Plugin_Failed, /**< Plugin has a fatal failure */
66 Plugin_Created, /**< Plugin is created but not initialized */
67 Plugin_Uncompiled, /**< Plugin is not yet compiled by the JIT */
68 Plugin_BadLoad, /**< Plugin failed to load */
72 * Plugin information properties.
76 PlInfo_Name, /**< Plugin name */
77 PlInfo_Author, /**< Plugin author */
78 PlInfo_Description, /**< Plugin description */
79 PlInfo_Version, /**< Plugin verison */
80 PlInfo_URL, /**< Plugin URL */
84 * Defines how an extension must expose itself for autoloading.
88 const String:name[], /* Short name */
89 const String:file[], /* Default file name */
90 bool:autoload, /* Whether or not to auto-load */
91 bool:required, /* Whether or not to require */
94 #define AUTOLOAD_EXTENSIONS
95 #define REQUIRE_EXTENSIONS