Hi
I work on a multiplayer run and i have a probleme with the restart.
I use the backspace button to restart a the start but only the server restart when i press backspace with client i see a glitch and after the client return on the last position
The blue print work i think
For a client to make a RunOnServer event the client needs to be the owner of the actor.
If the player is not the owner of the actor you can either use another actor that you own like the PlayerController or Pawn/Character and make the RunOnServer Event from there or the server can SetOwner to the PlayerController or something else the Player already owns.
Then InputActionRestart can call a RunOnServer Event (no need for SwitchHasAuthority) and from the RunOnServer Event you can Teleport the Player and if the Actor is set to Replicate and Replicate Movement then you are done.
Make the custom event restart a multicast that way it will run for clients and the server
Great it’s work Client teleport ! I have new bug I do not know if it’s linked but on each simulation the server ended up no longer would to teleporte instead of the debug it should