AMX Mod X API Documentation

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

Sets the calling plugin to a failed state.

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

Parameters
  • fmt Formatting rules
  • ... Variable number of formatting parameters
No return value
Errors
  • The function is guaranteed to throw a fatal error, ceasing

    further operation of the plugin.

Назад
Верх