added ThrowError() a la amxmodx's abort()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40566
This commit is contained in:
David Anderson
2007-03-02 19:10:44 +00:00
parent 9de900d3eb
commit 66b244011e
5 changed files with 55 additions and 2 deletions
+1
View File
@@ -62,6 +62,7 @@ typedef uint32_t funcid_t; /**< Function index code */
#define SP_ERROR_PARAMS_MAX 22 /**< Maximum number of parameters reached */
#define SP_ERROR_NATIVE 23 /**< Error originates from a native */
#define SP_ERROR_NOT_RUNNABLE 24 /**< Function or plugin is not runnable */
#define SP_ERROR_ABORTED 25 /**< Function call was aborted */
//Hey you! Update the string table if you add to the end of me! */
/**********************************************