Multiplayer spawn and possess with different character blueprints

Hello, I’m fairly new at networking development, so I tried to create a few examples of players spawn and every time I fail. I just don’t understand how to assign different indexes and create an array of characters to possess them after that. Have you an example of spawning and possession of different character blueprints? This is what I’ve tried: