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