15.07.2011, 01:18
pawn Код:
new Props, szQuery[128], szString[128];
format(szQuery, sizeof(szQuery), "SELECT * FROM `Props`");
SendQuery(szQuery);
mysql_store_result();
Props = mysql_num_rows();
mysql_free_result();
format(szString, sizeof(szString), "Max Props= %d", props);
printf("MAX Props: %d",szString);
return Props;