19.10.2013, 09:40
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:
The code:
Log:
I've tried many ways, for example, using cache_get_field_content, setting row and field IDs to 0, no difference.
Any help?
The query:
pawn Код:
mysql_function_query(_, "SELECT * FROM `statistics` WHERE `ID` = '1'", true, "OnServerStatisticsLoad", "")
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);
I've tried many ways, for example, using cache_get_field_content, setting row and field IDs to 0, no difference.
Any help?