abort
native abort(error, const fmt[] = "", any:...);
| Parameter |
Description |
| error | Error code |
| fmt | Formatting rules |
| ... | Variable list of formatting parameters |
Aborts execution of the current callback by throwing an error.
Warning: This function should not be used inside error filters, module
filters (native filters are safe if trap equals 1) or the
plugin_natives() forward.
The message will automatically be tagged with the plugin's name and the
log will include a timestamp with the message.
For a list of possible error codes, see AMX_* constants in amxconst.inc
This function has no return value.
The function is guaranteed to throw an error, using the
specified custom log message.