AMX Mod X API Documentation

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

Sets a raw line reader on an INI parser handle.

Notes
  • Below is the prototype of callback:

    -

    Called whenever a raw line is read.

    .@param handle The INI Parse handle.

    .@param line Contents of line.

    .@param lineno The line number it occurs on.

    .@param curtok Pointer to optionally store failed position in string.

    .@param data Handle or value passed in INI_ParseFile

    .@return True to keep parsing, false otherwise.

    public bool:OnRawLine(INIParser:smc, const line[], lineno, curtok, any:data)

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