Code:
function sql_select(STRING *strCommand, void *pFunction)
{
	int iSelection = sql_select(strCommand);
	wait_for(sql_select);
	
	if(iSelection)
	{
		void tFuncTypedef();
		tFuncTypedef = pFunction;
		tFuncTypedef();
	}
}



Change the typedef if you need params laugh

Last edited by Ch40zzC0d3r; 10/22/13 19:37.