Garry's Mod Wiki

Garry's Mod Wiki

  number CUserCmd:TickCount()

Description

Returns tick count since joining the server.

This will always return 0 for bots.
Returns 0 clientside during prediction calls. If you are trying to use CUserCmd:Set*() on the client in a movement or command hook, keep doing so till TickCount returns a non-zero number to maintain prediction.

Returns

1 number
The amount of ticks passed since joining the server.

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