05.11.2012, 09:27
pawn Code:
new query[64], savingstring[10];
new score;
format(query, sizeof(query), "SELECT * FROM Contas WHERE usuario = '%s'",nomedoplayer);
mysql_query(query);
mysql_store_result();
while(mysql_fetch_row_format(query,"|"))
{
mysql_fetch_field_row(savingstring, "Score"); score = strval(savingstring);
}
mysql_free_result();