Tasharen Entertainment Forum
Support => TNet 3 Support => Topic started by: addebooi on November 09, 2013, 07:20:56 PM
-
Hey! ive got a small problem here... When i call the "OnNetworkJoinChannel(bool succes, string message)"
What i do in this function is: listOfPlayerInLobby = TNManager.players; which mean when I(the client who joined), joines the channel, get all the players currently in there and put it in a list.
Apparently, every time i call this when a players joins, it sets the list on everyone connected insteed on only himself, which is a wierd behaviur. Ive done debug.logs in there, but when a player joins so doesn't it write anything.
-
OnNetworkJoinChannel notification is triggered when you join a channel. If you're looking to detect for players joining, use OnNetworkPlayerJoin.