CMoveData.GetMoveAngles

From GMod Wiki

Revision as of 05:01, 30 October 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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