How can i disable movement for all players in multiplayer?

but where? should i do this in the game state for each player or what?