CMoveData.GetVelocity
From GMod Wiki
Function | |
Syntax | MoveData:GetVelocity( ) |
Description: | |
Get the player's velocity | |
Returns: | Vector |
In Object: | CMoveData |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=CMoveData.GetVelocity]CMoveData.GetVelocity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Prints the player's velocity |
---|---|
Used on | |
Code | function GM:Move( ply, movedata ) print( movedata:GetVelocity() ) end |
Output | N/A |