Garry's Mod Wiki

Garry's Mod Wiki

  number CUserCmd:CommandNumber()

Description

Returns an increasing number representing the index of the user cmd.

The value returned is occasionally 0 inside GM:CreateMove and GM:StartCommand. It is advised to check for a non-zero value if you wish to get the correct number.

Returns

1 number
The command number

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...