ent_bonerotate is an animation function, and thus unrelated to multiplayer or single player. In a multiplayer game, you don't animate on the server. Only movement and behavior - such as, at which position to aim - is controlled by the server, but not visual things like animation. This happens on the clients.

An introduction in multiplayer games can be found in workshop 25.