20.02.2012, 14:29
Quote:
|
Thanks Pooh7.
Kick in OnQueryFinish don't work? because I use and when I test and connects in the server I see the server restarting or lost connection ( but the server run) In the log there is 1 and 2. I'm kick because in the log "Neo has left the server" but don't have "server close the connection" or my clientmessage. Код:
switch(resultid)
{
case THREAD_BAN:
{
mysql_store_result(SQL1);
if(IsPlayerConnected(extraid))
{
if(mysql_retrieve_row(SQL1))
{
...
if()
{
...
print("1");
Kick(extraid);
print("2");
mysql_free_result(SQL1);
return 1;
}
}
}
mysql_free_result(SQL1);
}
}
|


