28.03.2015, 06:14
So I need some explanation how can I update this to r39.. Because I need some seriuss help... With this funcition.
EROOR:
EROOR:
pawn Code:
error 017: undefined symbol "mysql_store_result"
error 017: undefined symbol "mysql_num_rows"
pawn Code:
new Query[200], escpname[24];
mysql_real_escape_string(sendername, escpname);
format(Query, sizeof(Query), "SELECT * FROM `players` WHERE `Name` = '%s'", escpname);
mysql_query_ex(Query);
mysql_store_result();
if(mysql_num_rows() != 0) //If the user is found
{
gPlayerAccount[playerid] = 1;
}
else
{
gPlayerAccount[playerid] = 0;
}