Tasharen Entertainment Forum
Support => TNet 3 Support => Topic started by: ChemiKhazi on May 23, 2013, 05:12:46 AM
-
Is there a way to send messages to players who are in different channels? I need it to keep a list of enemies that have been defeated in different channels synchronized.
-
You can send private messages by specifying a player as target.
-
Is there a way to list all the players on a server?
-
You can get the list of players in the current channel by checking TNManager.players.
-
If you want the server to send you the list of all connected players, you will need to add a custom packet to request it, and handle it on the server.