CMoveData.GetMoveAngles
From GMod Wiki
| Function | |
| Syntax | MoveData:GetMoveAngles( ) |
| Description: | |
| Returns the angle the player is moving at | |
| Returns: | Angle |
| In Object: | Cmovedata |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=CMoveData.GetMoveAngles]CMoveData.GetMoveAngles [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Prints the move angles |
|---|---|
| Used on | |
| Code | function GM:SetupMove( PLAYER, MOVE ) Msg( "Move Angles: " .. tostring( MOVE:GetMoveAngles() ) .. "\n" ) end |
| Output | Move Angles: ... |