13.03.2010, 19:55
Hello,
I've posted my question on the other plugin's topic without any answer so I'll post here too in hope for an answer
So, my question would be like this:
Does anyone know how to convert a non-threaded mysql function - script to a threaded one ?
Example:
Does anyone know how to write this function to use threaded query (OnQueryFinish) ?
Thanks.
I've posted my question on the other plugin's topic without any answer so I'll post here too in hope for an answer

So, my question would be like this:
Does anyone know how to convert a non-threaded mysql function - script to a threaded one ?
Example:
Код:
public CheckVeh(carid, camp[], descriere[])
{
new query[128];
format(query, sizeof(query), "SELECT %s FROM veh WHERE ID = %d LIMIT 1",camp, carid);
mysql_query(query);
mysql_store_result();
if(mysql_fetch_row(descriere))
{
mysql_free_result();
return 1;
}
mysql_free_result();
return 0;
}
Thanks.

