Garry's Mod Wiki

CMoveData:SetMoveAngles

  CMoveData:SetMoveAngles( Angle dir )

Description

Sets the serverside move angles, making the movement keys act as if player was facing that direction.

This function is predicted, and should be called shared with matching data on client and server.

Arguments

1 Angle dir
The aim direction.