SA-MP Forums Archive
OnPlayerDisconnect is called twice - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnPlayerDisconnect is called twice (/showthread.php?tid=365379)



OnPlayerDisconnect is called twice - SDraw - 02.08.2012

So, problem is in title of thread.
How I get it: Print "kick <id>" in console.
Log:
Код:
Console input: kick 0
[23:54:29] (reducted) <#0 - 127.0.0.1> has been kicked.
[23:54:29] Saved account of player with ID - 0
[23:54:29] Called Mode callback. Time - 50519111
[23:54:29] [part] (reducted) has left the server (0:2)
[23:54:29] [MySQL] Error (0): Failed to exeute query. Lost connection to MySQL server during query.
[23:54:29] Saved account of player with ID - 0
[23:54:29] Called Mode callback. Time - 50519140
[23:54:29] [part] (reducted) has left the server (0:1)
Plugins/library/filterscripts: Streamer, MySQL, MD5, Sscanf / YSI Library / None.
P.s. Function Kick(); is script/gamemode doesn't do this.