Garry's Mod Wiki

CMoveData:GetOrigin

Vector CMoveData:GetOrigin()

Description

Gets the player's position.

Returns

1 Vector
The player's position.

Example

Print's the players position.

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

Page Links


Special Pages


Wikis

?

Render Time: 32ms

Session 0
DB GetPage 2
Generate Html 2
SaveChanges 8
Render Body 0
Render Sidebar 17