Quote:
Originally Posted by SuperViper
That's not how you use threaded queries.
pawn Код:
forward public CallbackName(playerid);
public CallbackName(playerid) { new rowCount, fieldCount; cache_get_data(rowCount, fieldCount, IMDb);
format(string, sizeof(string),"» Total accounts: %i «", rowCount); SendClientMessage(playerid, -1, string); return 1; }
mysql_function_query(IMDb, query, true, "CallbackName", "i", playerid);
|
I can't get why I should use threaded query to count the registered accounts and my problem was that it shows 0 accounts, when they were 285 also when I executed the code in phpmyadmin it showed me 285.