Restartplayer in gamemode does nothing

i want to respawn my players in a multiplayer game from the gamemode.
if i do a playercanrestart it returns true but restartplayer does nothing.

i found a way around that:
i spawn a spectator when the player is killed and posses him with the controller from the killed character.
and when the spectator hits the fire button i spawn acharacter and posses him.

if somebody wants to respawn immediatly he could spawn a character too.