diff --git a/plugins/include/core.inc b/plugins/include/core.inc index 0e345757..36670c72 100644 --- a/plugins/include/core.inc +++ b/plugins/include/core.inc @@ -24,6 +24,16 @@ struct PlVers version, }; +/** + * Specifies what to do after a hook completes. + */ +enum Result +{ + Plugin_Continue = 0, /**< Continue with the original action */ + Plugin_Handled = 3, /**< Handle the action at the end (don't call it) */ + Plugin_Stop = 4, /**< Immediately stop the hook chain and handle the original */ +} + public PlVers:__version = { version = SOURCEMOD_PLUGINAPI_VERSION,