SQL_ThreadQuery works in asynchronous. So you should be storing the players job into an array or something.
Also your not retrieving the data from the column.
Code:
if(SQL_NumResults(Query))
{
StoreSomeWhere = SQL_ReadResult(Query, 0);
}
I don't know what plugin this is for but it look like it a TS plugin. You need to recode this plugin around to work in Asynchronous if you are going to SQL_ThreadQuery.
__________________