Client sent drop
Is there a way to catch the "Client sent 'drop'"?
The client_disconnect method is called even at levelchange and I only need to catch players when they drop from server. |
Moved from "Support/Help" forum.
|
You can try to catch the client command "disconnect"
|
Wont work, its handled internally.
|
i believe by the time this is sent the client is gone and it is thus too late to run commands on them or even get their index.
|
As TKers often drop before you even manage to open the ban menu...
What I want to do is an extra ban menu from which dropped players can be banned. The idea is to write a file containing the last 10 dropped players. Code:
But if I use the client_disconnect, it will loose dropped players at mapchange as all players are disconnected. Any suggestions? |
No one knows? Is it really impossible to catch this event?
|
I think it has allready has been done, look for a plugin called "ban disconnected players menu" or something. You can look at the source to see what methood it's using!
|
EDIT:
Quote:
Code:
|
i tried the same thing as you, VEN, but by the time the event was called the player had already left the server and nothing could be retrieved about them (besides the name that is given in the event), at least for me.
|
| All times are GMT -4. The time now is 20:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.