GM/CreateMove

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(This hook doesn't return anything)
Line 10: Line 10:
 
|name=cmd
 
|name=cmd
 
|desc=Command data
 
|desc=Command data
}}
 
{{Ret
 
|type=boolean
 
}}
 

Revision as of 17:27, 17 May 2017

 GM:CreateMove( )

Description

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

NOTE

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

{{Arg |type=CUserCmd |name=cmd |desc=Command data

Personal tools
Navigation