07.10.2015, 20:37
This is non-sense... all you have to do is loop through the table and return the row count.
EDIT: Oops, fixed it.
PHP код:
mysql_tquery(mConnectionHandle, "SELECT * FROM Accounts", "Query1", "d", playerid);
forward public Query1();
Query1()
{
new s[30]; format(s, sizeof(s), "Total Accounts: %d", cache_get_row_count()), SendClientMessage(playerid, -1, s);
return 1;
}