From Valve Developer Community
Revision as of 06:59, 19 October 2010 by TomEdwards (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A userid is a unique integer given to each player who connects to a server. Numbers are assigned sequentially, and never re-used.

IDs are chiefly used to identify players in events.

Warning.png Warning: It can be easy to confuse a player's ID with their entity index, as until someone disconnects from the server they will be in sync.


IDs are assigned by the engine, and cannot be changed.