05.06.2012, 00:48
What I want to know, do ALL my SELECT queries HAVE to be sent to a callback?
Also, can I send the query to the callback, from inside the callback? (like a self submitting form in HTML)
Example:
Is that possible?
Also, can I send the query to the callback, from inside the callback? (like a self submitting form in HTML)
Example:
pawn Код:
//I call the function here...
CheckAccounts(playerid);
//Somewhere down in the script...
public CheckAccounts(playerid)
{
format(query,sizeof(query),"SELECT ...");
mysql_function_query(1,query,true,"CheckAccounts","i",playerid);
//something else below...
return 1;
}