Author Topic: Client Sided Join Server Function  (Read 516 times)

Is there a client sided function for when you join a server?

serverConnection::onConnectionAccepted with a package and parent worked last time I tried it.

serverConnection::onConnectionAccepted with a package and parent worked last time I tried it.
Any vars?

Also what is a client sided function for leaving a server?

there should be some sort of ondisconnectpacket function that you can use.

disconnect()
disconnectedCleanup()
serverConnection::onDrop(%this) - uncertain about this one

Seems like most mods use disconnect().