abort
- Синтаксис
-
native abort(error, const fmt[] = "", any:...);
Переменная | Описание |
---|---|
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
- Возвращает
- Функция ничего не возвращает