AMX Mod X API Documentation

Signature
native Handle:SQL_Connect(Handle:cn_tuple, &errcode, error[], maxlength);
Description

Opens a database connection.

Parameters
  • cn_tuple Tuple handle, returned from SQL_MakeDbTuple().
  • errcode An error code set by reference.
  • error String where error string will be stored.
  • maxlength Maximum length of the error buffer.
Returns

Returns an SQL connection handle, which must be freed.

Returns Empty_Handle on failure.

Errors
  • Invalid info tuple handle.
Назад
Верх