SQL_ReadResult
- Синтаксис
-
native SQL_ReadResult(Handle:query, column, any:...);
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- Retrieves the current result. A successful query starts at the first result, so you should not call SQL_NextRow() first. Passing no extra params - return int Passing one extra param - return float in 1st extra arg Passing two extra params - return string in 1st arg, max length in 2nd Example: new num = SQL_ReadResult(query, 0) new Float:num2 new str[32] SQL_ReadResult(query, 1, num2) SQL_ReadResult(query, 2, str, 31)