I don't compile mysql_amxx so write the module
if player connect use SQL_ThreadQuery Read Access
If the replacement map when players enter WaitForWingleObject unable to return will result in
the module fix the bug
add amxx the code
native StopThread();
public plugin_end()
{
StopThread();
}
please delete old code and add the code
2 function)
static cell AMX_NATIVE_CALL StopThread(AMX *amx, cell *params)
{
if(ThreadSaves)
{
TerminateThread(ThreadSaves,0);
CloseHandle(ThreadSaves);
ThreadSaves = NULL;
return 1;
}
return 0;
}
VOID OnAmxxDetach()
{
cbThread->UnInstallApiHook();
if(ThreadSaves)
{
TerminateThread(ThreadSaves,0);
CloseHandle(ThreadSaves);
ThreadSaves = NULL;
}
}