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: 82ms

DB GetPage 50
Generate Html 2
SaveChanges (1) 14
Render Body 0
Render Sidebar 13