1.1 --- a/plugins/include/sourcemod.inc Fri Mar 02 09:15:54 2007 +0000
1.2 +++ b/plugins/include/sourcemod.inc Fri Mar 02 19:10:44 2007 +0000
1.3 @@ -37,7 +37,6 @@
1.4 #include <bitbuffer>
1.5 #include <sorting>
1.6 #include <clients>
1.7 -#include <entity>
1.8
1.9 /**
1.10 * Declare this as a struct in your plugin to expose its information.
1.11 @@ -106,6 +105,18 @@
1.12 */
1.13 native Handle:GetMyHandle();
1.14
1.15 +
1.16 +/**
1.17 + * Aborts the current callback and throws an error. This function
1.18 + * does not return in that no code is executed following it.
1.19 + *
1.20 + * @param format String format.
1.21 + * @param ... Format arguments.
1.22 + * @noreturn
1.23 + * @error Always!
1.24 + */
1.25 +native ThrowError(const String:fmt[], {Handle,Float,String,_}:...);
1.26 +
1.27 /**
1.28 * Logs a generic message to the HL2 logs.
1.29 *
1.30 @@ -210,3 +221,4 @@
1.31
1.32 #include <usermessages>
1.33 #include <helpers>
1.34 +#include <entity>