Author Topic: Clientside detection for a player joining and leaving a server?  (Read 558 times)

As the title indicates, how can I detect (clientside) when a player joins or leaves a server? I'd also like to be able to get the server name and any other server information, if possible.

There is no direct method of doing this. At least, not exactly. One of the updates, Badspot changed "clientCmdClientJoin" to "secureClientCmd_ClientJoin," and since then, I've been told to avoid. You may contact me elsewhere.

Code: [Select]
function newPlayerListGui::update(%this,%c,%name,%blid,%a,%b,%c)only flaw is that it also picks up when you join a server. i don't know how you would fix that.
also remember to parent, of course.

and i don't think it thinks about leaving a server, only joining.

There are so many way to do this that I don't need to tell you any of the ways.
Just use your friends trace(); and tree();