AMX Mod X API Documentation

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

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

Notes
  • 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.

Parameters
  • error Error number
  • fmt Formatting rules
  • ... Variable number of formatting parameters
No return value
Errors
  • The function is guaranteed to throw an error, but will make

    it appear as if the plugin calling the native triggered it.

Назад
Верх