Quote:
Originally Posted by xPaw
Try
Points = SQL_ReadResult( Query, qcolPoints );
|
This should do the trick. You are attempting to retrieve an integer and the function thinks you want a string so you are getting no result.
http://www.amxmodx.org/funcwiki.php?go=func&id=1105
Code:
SQL_ReadResult ( Handle:query, column, {Float,_}:... )
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
__________________