native
abort
Syntax
native abort(error, const fmt[]="", any:...);
Description
Aborts execution of the current callback. Your script will throw a run time error.
You can also specify an optional message.
You should NOT call this function inside:
- Error or module filters (native filters are safe if trap is 1)
- plugin_natives()
Note that the plugin's filename is prepending to your message:
[myplugin.amxx] MESSAGE