SpectatorPawn has ROLE_Authority as a Role on client

I’m trying to implement multiplayer shooter, where all the players spawn as spectators at the beginning of a game. So, the problem is the client’s spectator spawn with the ROLE_Authority, which doesn’t allow me execute any server functions.

What do you mean by, it doesnt allow you?

I get warning “Client is absorbing remote function on actor because RemoteRole is ROLE_None” and server function just does not execute.