Blockland Forums > Modification Help

Clientside detection for a player joining and leaving a server?

Pages: (1/1)

cucumberdude:

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.

MegaScientifical:

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.

Placid:


--- Code: ---function newPlayerListGui::update(%this,%c,%name,%blid,%a,%b,%c)
--- End code ---
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.

infiniteLoop:

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();

Pages: (1/1)

Go to full version