Garry's Mod Wiki

Garry's Mod Wiki

  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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...