Hello, I'm having trouble capturing the reason for the player's disconnect, below is a small plug made for testing.
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Bruno"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
// Add your code here...
}
public client_disconnected(id, bool:drop, Msg[], Len)
{
drop = true
log_amx("%s", Msg)
}
And this is what I get in the log ...
In fact I can not capture the message ... it can be sleep disturbing me kkkkk
PHP Code:
L 04/18/2019 - 01:21:29: [test.amxx] OT
L 04/18/2019 - 01:21:29: [test.amxx] OT
L 04/18/2019 - 01:21:29: [test.amxx] OT
L 04/18/2019 - 01:21:29: [test.amxx] OT
L 04/18/2019 - 01:21:29: [test.amxx] OT
L 04/18/2019 - 01:21:29: [test.amxx] OT
L 04/18/2019 - 01:21:29: [test.amxx] OT
L 04/18/2019 - 01:21:29: [test.amxx] OT
L 04/18/2019 - 01:21:29: [test.amxx] OT
L 04/18/2019 - 01:21:29: [test.amxx] OT
__________________