Blockland Forums > Modification Help

Client Sided Join Server Function

Pages: (1/2) > >>

jes00:

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

Port:

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

jes00:


--- Quote from: Port on January 21, 2012, 05:24:01 PM ---serverConnection::onConnectionAccepted with a package and parent worked last time I tried it.

--- End quote ---
Any vars?

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

Ipquarx:

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

Port:

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

Pages: (1/2) > >>

Go to full version