Problem with row/field IDs when using R8 r34
#1

Good day everyone. As I have updated the version of the MySQL plugin, I get some errors when, for example, loading server's data.

The query:

pawn Код:
mysql_function_query(_, "SELECT * FROM `statistics` WHERE `ID` = '1'", true, "OnServerStatisticsLoad", "")
The code:

pawn Код:
sInfo[statsBankMoney] = cache_get_row_int(1, 0);
sInfo[statsServerUp]  = cache_get_row_int(1, 1);
sInfo[statsAccounts]  = cache_get_row_int(1, 2);
sInfo[statsConnects]  = cache_get_row_int(1, 3);
sInfo[statsKills]     = cache_get_row_int(1, 4);
sInfo[statsDeaths]    = cache_get_row_int(1, 5);
Log:



I've tried many ways, for example, using cache_get_field_content, setting row and field IDs to 0, no difference.

Any help?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)