Garry's Mod Wiki

Garry's Mod Wiki

  CMoveData:SetVelocity( Vector velocity )

Description

Sets the player's velocity

Arguments

1 Vector velocity
The velocity to set

Example

Make the player shake to hell and back.

function GM:SetupMove( ply, movedata ) movedata:SetVelocity( VectorRand() * 800 ) 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...