AMX Mod X API Documentation

Signature
native SQL_FieldNumToName(Handle:query, num, name[], maxlength);
Description

Retrieves the name of a column by its index.

Parameters
  • query Handle of a query.
  • num The number (index) of a column to retrieve the name from.
  • name Buffer where to store the column's name.
  • maxlength Maximum length of the output buffer.
No return value
Errors
  • Invalid query handle.

    No result set in this query.

    Invalid column index.

Назад
Верх