Pivius_opnmv/code/core/game.cs
using Sandbox;
using Sandbox.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core
{
	[Library("opnmv")]
	public partial class MovementGame : Sandbox.Game
	{
		public MovementGame()
		{
			if ( IsServer )
			{
				Log.Info( "Game serverside Pass" );
				new OMHUD.HudEntity();
			}

			if ( IsClient )
			{
				Log.Info( "Game clientside Pass" );
			}
		}

		public override void PostLevelLoaded()
		{
			base.PostLevelLoaded();
		}

		public override void ClientJoined( Client client )
		{
			var player = new MovementPlayer();
			base.ClientJoined(client);
			client.Pawn = player;
			player.Respawn();
		}

		public override void Simulate(Client client)
		{
			client.Pawn?.Simulate(client);
		}

		public override void FrameSimulate(Client client)
		{
			Host.AssertClient();
			client.Pawn?.FrameSimulate(client);
		}
	}
}
