native SQL_ReadResult(Handle:query, column, any:...);
query | Handle of a query to read results from. |
column | Which column to get the value from. |
... | Passing no extra arguments - returns an integer. Passing one extra argument - returns a float in the first extra argument Passing two extra params - returns a string in the first argument with a maximum string length in the second argument. |
Retrieves the current result.
A successful query starts at the first result, so you should not call SQL_NextRow() first.
Example how to get different types of values: new num = SQL_ReadResult(query, 0) new Float:num2 new string[32] SQL_ReadResult(query, 1, num2) SQL_ReadResult(query, 2, string, charsmax(string))
If no extra arguments are passed, returns an integer value.
Invalid query handle.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.