CMoveData/GetOrigin

From Garry's Mod
Jump to: navigation, search
 CMoveData:GetOrigin( )

Contents

Description

Gets the player's position.

Returns

Vector

The player's position.

Examples

Example

Print's the players position.

function GM:SetupMove( ply, movedata )
    print( movedata:GetOrigin() )
end


Personal tools
Navigation