Completes an undo entry, and registers it with the player's client
This example creates a prop_physics, and adds it to the players undo list.