01.05.2014, 10:28
hello, im using BlueG's mysql plugin (R3 and im getting errors while compiling this:
(38 : error 035: argument type mismatch (argument 1)
(389) : error 017: undefined symbol "mysql_store_result"
(390) : error 017: undefined symbol "mysql_num_rows"
(391) : error 017: undefined symbol "mysql_free_result"
Any tip to how resolve it?
pawn Код:
new string[180];
mysql_query("SELECT `TotalAccounts` FROM `ServerStats`");
mysql_store_result();
new rows = mysql_num_rows();
mysql_free_result();
format(string, sizeof(string), ">> AccSrv: %s (%d) has registered a new account. (Account ID %d) - Total Registered Playes: %d", pname,playerid,pInfo[playerid][ID],rows);
SCMTA(0xFFFFFFFF, string);
(389) : error 017: undefined symbol "mysql_store_result"
(390) : error 017: undefined symbol "mysql_num_rows"
(391) : error 017: undefined symbol "mysql_free_result"
Any tip to how resolve it?