How to get player number when someone enters the room?
Options
Hi, I'm trying to get the player number or ID when someone joins the room for Photon BOLT. On the console it prints this message when someone joins:
My use case for this is: I'm working on a multiplayer racing game. I want to assign each player to a specific slot: 1,2,3, etc.
Thanks in advance!
27/05/2020 12:03:14 PM: Player 3 entered the roomI want to get 3 in this case. I know this sounds like a very basic question, but I searched the documentation and the forums but I can't find anything that would give me this ID.
My use case for this is: I'm working on a multiplayer racing game. I want to assign each player to a specific slot: 1,2,3, etc.
Thanks in advance!
0
Comments
-
It works! Thanks for pointing this out.0
-
Hello everyone
Have a nice day
Thank you!!!0