CMoveData.SetOrigin
From GMod Wiki
Function | |
Syntax | MoveData:SetOrigin( Vector Position ) |
Description: | |
Set the player's position | |
Returns: | nil |
In Object: | Cmovedata |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=CMoveData.SetOrigin]CMoveData.SetOrigin [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Make the player freeze at the origin of the map. |
---|---|
Used on | |
Code | function GM:SetupMove( ply, movedata ) movedata:SetOrigin( vector_origin ) end |
Output | N/A |