[Solved] Multiplayer: How to shoot (create objects) for each player correctly

How do I…

I am trying to let every player shoot they own shots.
(Problably I am missing out something of basic multiplayer logic here).

What is the expected result

In the center of player object bullet is created in then moved to the position of mouse cursor.

What is the actual result

For Player 1 works well, but for Player 2 have strange results:

  • shots are moving only limited distance and then disappears.
  • Player 1 can’t see shots of Player 2.

Player object and Bullet object are both multiplayer objects with default owener host.

Related screenshots

Problem was in missuse of global variable CurrentPlayer - I forgot, that the variable is shared acros all the players.