Added another function or something

This commit is contained in:
David Anderson 2005-09-11 03:55:48 +00:00
parent 6e52ce7678
commit 401ee3c97f

View File

@ -883,5 +883,15 @@ native set_module_filter(const handler[]);
* You should NOT call this function inside: * You should NOT call this function inside:
* - Error or module filters (native filters are safe if trap is 1) * - Error or module filters (native filters are safe if trap is 1)
* - plugin_natives() * - plugin_natives()
* Note that the plugin's filename is prepending to your message:
* [myplugin.amxx] MESSAGE
*/ */
native abort(error, const fmt[]="", {Float,_}:...); native abort(error, const fmt[]="", {Float,_}:...);
/**
* Checks if a specific module is loaded. This is the exact same method AMX Mod X
* uses to see if a module is required by a plugin. For example:
* module_exists("cstrike")
* module_exists("dbi")
*/
native module_exists(const logtag[]);