CMoveData.GetMoveAngles

From GMod Wiki

Jump to: navigation, search
Function
Syntax MoveData:GetMoveAngles( )
Description:
Returns the angle the player is moving at
Returns: Angle
In Object: Cmovedata
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=CMoveData.GetMoveAngles]CMoveData.GetMoveAngles [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionPrints the move angles
Used onNewerShared.png
Code
function GM:SetupMove( PLAYER, MOVE )
    Msg( "Move Angles: " .. tostring( MOVE:GetMoveAngles() ) .. "\n" )
end
 
OutputMove Angles: ...
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox