L 05/23/2012 - 10:57:16: [MySQL] Thread worker was unable to start. L 05/23/2012 - 10:57:16: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx") L 05/23/2012 - 10:57:16: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery") L 05/23/2012 - 10:57:16: [AMXX] [0] check_flag.inl::check_flagged (line 38) L 05/23/2012 - 10:57:16: [AMXX] [1] check_player.inl::check_player_ (line 106)Do pliku "amxbans_main.sma" należy dodać
public plugin_end() {
g_SqlX = Empty_Handle;
}
lub samo, jeśli funkcja "plugin_end" już istnieje
g_SqlX = Empty_Handle;
Następnie otwieramy "check_flag.inl" oraz "check_player.inl" i wszędzie przed
SQL_ThreadQuery(g_SqlX
dodajemy
if(g_SqlX)
Na sam koniec należy skompilować i nowy plik "amxbans_main.amxx" wgrać na serwer.