Reason for disconnection amxx 1.9
Hello, I'm having trouble capturing the reason for the player's disconnect, below is a small plug made for testing.
PHP Code:
In fact I can not capture the message ... it can be sleep disturbing me kkkkk PHP Code:
|
Re: Reason for disconnection amxx 1.9
You can't do this:
PHP Code:
client_disconnected() is a forward, it notice you the thing that already happen. PHP Code:
|
Re: Reason for disconnection amxx 1.9
Exactly! Now we get where I wanted to go, I want to know the reason for the disconnection to execute an action, if it is output of its own accord, but the message is only written if the drop is true, so I was in a dead end.
|
Re: Reason for disconnection amxx 1.9
PHP Code:
|
Re: Reason for disconnection amxx 1.9
For some reason, I'm still having problems, when I use the debug (as you did above) everything is ok, but when I add some action ... simply ignore bool: drop ...
|
Re: Reason for disconnection amxx 1.9
Show your code
|
Re: Reason for disconnection amxx 1.9
Quote:
Sure. PHP Code:
Code:
L 04/22/2019 - 10:00:32: [plmenu.amxx] Kick: "iceeedR<1><STEAMxxxxxx><>" kick "iceeedR<1><STEAMxxxxxx><>" |
Re: Reason for disconnection amxx 1.9
I think you can hook team change, and store players team into a global variable.
|
Re: Reason for disconnection amxx 1.9
Yes, I already do this, but the question is ... if the player is still "valid" even returning the boolean connect as true, why trying to get the player team generates the invalid player log ... does not do much sense.
|
Re: Reason for disconnection amxx 1.9
Quote:
PHP Code:
|
All times are GMT -4. The time now is 11:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.