AMX Mod X API Documentation

Signature
native INI_SetParseEnd(INIParser:handle, const func[]);
Description

Sets the INI_ParseEnd function of a parse handle.

Notes
  • Below is the prototype of callback:

    -

    Called when parsing is halted.

    .@param handle A handle to an INI Parse structure.

    .@param halted True if abnormally halted, false otherwise.

    .@param data Handle or value passed in INI_ParseFile

    .@noreturn

    public OnParseEnd(INIParser:handle, bool:halted, any:data)

    -

Parameters
  • handle Handle to an INI Parse structure.
  • func A ParseEnd callback.
No return value
Errors
  • Invalid or corrupt handle.
Назад
Верх