Run time error 10: (native "SQL_ReadResult") [Getting #Rank from database]
related topic here but its very unclear if there's a fix or not
https://forums.alliedmods.net/showth...t=68161&page=2 there's another plugin that shows rank with this plugin's native errors:
Spoiler
code (i made a comment where the error line is):
Spoiler
|
Re: Run time error 10: (native "SQL_ReadResult") [Getting #Rank from database]
The errors you have is one error. The first line is the most important one.
Check if you have any result before trying to read it using SQL_NumResults(). |
Re: Run time error 10: (native "SQL_ReadResult") [Getting #Rank from database]
like this?
Code:
i'll see if the error stops ty |
Re: Run time error 10: (native "SQL_ReadResult") [Getting #Rank from database]
Now you require 2 or more results to read it. Perhaps > 0 or => 1 to include 1 result as well.
|
Re: Run time error 10: (native "SQL_ReadResult") [Getting #Rank from database]
yes haha I was just derping I did notice it.
btw shouldn't just this work too? Code:
|
Re: Run time error 10: (native "SQL_ReadResult") [Getting #Rank from database]
Unless that native doesn't return negative numbers on errors, yes.
|
Re: Run time error 10: (native "SQL_ReadResult") [Getting #Rank from database]
ok it's been few days and as far as I can tell this is fixed.
the error definitely should've occurred by now so thanks |
| All times are GMT -4. The time now is 22:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.