log_error

Синтаксис

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

Употреба

error
Error number
fmt
Formatting rules
...
Variable number of formatting parameters

Описание

Logs an error in the native and breaks into the AMXX debugger.

Забележка

This acts as if the calling plugin - the plugin that is calling the
native, not the plugin calling this function - triggered the error,
just like when AMXX natives error.

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

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

Грешка

The function is guaranteed to throw an error, but will make
it appear as if the plugin calling the native triggered it.