CMoveData.GetOrigin

From GMod Wiki

Revision as of 21:50, 20 November 2009 by Dlaor (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax MoveData:GetOrigin( )
Description:
Get the player's position
Returns: Vector
In Object: Cmovedata
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=CMoveData.GetOrigin]CMoveData.GetOrigin [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionPrint the player's position.
Used onNewerShared.png
Code
function GM:SetupMove( ply, movedata )
    print( movedata:GetOrigin )
end
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox