added request amb293 - SetFailState

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40843
This commit is contained in:
David Anderson
2007-05-23 01:44:00 +00:00
parent f4390609b3
commit 936337e54d
2 changed files with 22 additions and 0 deletions
+10
View File
@@ -212,6 +212,16 @@ native bool:IsPluginDebugging(Handle:hndl);
*/
native bool:GetPluginInfo(Handle:plugin, PluginInfo:info, String:buffer[], maxlength);
/**
* Causes the plugin to enter a failed state. An error will be thrown and
* the plugin will be paused until it is unloaded or reloaded.
*
* @param string Message to print.
* @noreturn
* @error Always.
*/
native SetFailState(const String:string[]);
/**
* Aborts the current callback and throws an error. This function
* does not return in that no code is executed following it.