Garry's Mod Wiki

CMoveData:SetOrigin

CMoveData:SetOrigin( Vector pos )

Description

Sets the players position.

Arguments

1 Vector pos
The position

Example

Make the player freeze at the origin of the map.

function GM:SetupMove( ply, movedata ) movedata:SetOrigin( vector_origin ) end

Page Links


Special Pages


Wikis

?

Render Time: 22ms

Session 0
DB GetPage 2
Generate Html 2
SaveChanges 10
Render Body 0
Render Sidebar 6