set_fail_state

Синтаксис

native set_fail_state(const fmt[], any:...);

Употреба

fmt
Formatting rules
...
Variable number of formatting parameters

Описание

Sets the calling plugin to a failed state.

Забележка

Calling this will cause the calling plugin to completely cease
operation. It is not possible to recover.

Забележка

This should be used to gracefully handle fatal errors. The log message
will appear in the AMXX error log.

Връщаща стойност

Тази функция няма връщаща стойност.

Грешка

The function is guaranteed to throw a fatal error, ceasing
further operation of the plugin.