mysql error
#1

hello, im using BlueG's mysql plugin (R3 and im getting errors while compiling this:

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);
(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?
Reply


Messages In This Thread
mysql error - by Face9000 - 01.05.2014, 10:28
Re: mysql error - by Eth - 01.05.2014, 10:31
Re: mysql error - by Face9000 - 01.05.2014, 10:38
Re: mysql error - by Eth - 01.05.2014, 10:41
Re: mysql error - by Face9000 - 01.05.2014, 10:46
Re: mysql error - by Danyal - 01.05.2014, 10:46
Re: mysql error - by Eth - 01.05.2014, 10:47
Re: mysql error - by Face9000 - 01.05.2014, 10:49
Re: mysql error - by Eth - 01.05.2014, 10:51
Re: mysql error - by Danyal - 01.05.2014, 10:59

Forum Jump:


Users browsing this thread: 1 Guest(s)