Garry's Mod Wiki

CUserCmd:CommandNumber

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

Page Links


Special Pages


Wikis

?

Render Time: 27ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 12