Author Topic: How to detect when you join a server  (Read 1028 times)

is there a callback or something that I can use on the client to detect if he joins a server

GameConnection::onConnectionAccepted

GameConnection::onConnectionAccepted
So this works on the client side?

Thanks

So this works on the client side?

Thanks
No, it's server-sided.

The client function is ConnectToServer()

No, it's server-sided.

Wrong, you can't even package that function on the server-side.

The client function is ConnectToServer()

No, that's just a GUI button callback.
The function I mentioned is the engine callback upon successfully connecting to a server.

What are the arguments?

Code: [Select]
gameConnection::onConnectionAccepted(%client)