Garry's Mod Wiki

Garry's Mod Wiki

  boolean GM:CreateMove( CUserCmd cmd )

Description

Allows you to change the players movements before they're sent to the server.

See Game Movement for an explanation on the move system.

Due to this hook being clientside only, it could be overridden by the user allowing them to completely skip your logic, it is recommended to use GM:StartCommand in a shared file instead.

Arguments

1 CUserCmd cmd
The User Command data

Returns

1 boolean
Return true to:
  • Disable Sandbox C menu "screen clicking"
  • Disable Teammate nocollide (verification required)
  • Prevent calling of C_BaseHLPlayer::CreateMove & subsequently C_BasePlayer::CreateMove

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 twice a day. Edits and history are not available.

Last Parsed: Loading...