• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Data loading
#3
You can only execute one query at a time in the mysql_tquery.


Code:
mysql_format(g_SQL, query, sizeof query, "SELECT * FROM `first` WHERE ` username` = '%e' LIMIT 1", Player[playerid][Name]);
mysql_tquery(g_SQL, query, "LoadPlayerData_1", "d", playerid);

mysql_format(g_SQL, query, sizeof query, "SELECT * FROM `second` WHERE `username` = '%e' LIMIT 1", Player[playerid][Name]);
mysql_tquery(g_SQL, query, "LoadPlayerData_2", "d", playerid);

mysql_format(g_SQL, query, sizeof query, "SELECT * FROM `third` WHERE `username` = '%e' LIMIT 1", Player[playerid][Name]);
mysql_tquery(g_SQL, query, "LoadPlayerData_3", "d", playerid);
  Reply


Messages In This Thread
Data loading - by AdamWorkshop - 2020-12-23, 04:35 PM
RE: Data loading - by AdamWorkshop - 2020-12-23, 04:47 PM
RE: Data loading - by Radical - 2020-12-25, 06:31 PM
RE: Data loading - by Pinch - 2020-12-25, 07:51 PM
RE: Data loading - by Epureanu - 2020-12-27, 09:10 AM

Forum Jump: