1 Userinfo keys
theAsmodai edited this page 2018-04-23 18:56:10 +03:00

What is it

Userinfo is a size-limited buffer for storing and exchanging information about client settings in \key\value format.

Registered prefixes

* - Protected engine keys that can not be changed by console.
_ - Private keys that will not be transmitted to other clients.

Key Value type Important Usage on server Usage on other clients Comment
name string ✔️ Holding player's name. Holding player's name.
model string ✔️ Holding player's model. Holding player's model. Can be blocked and replaced by using modelindex (See #342)
topcolor integer ✔️ ❌ Top color of player's model. Used in Half-Life. Does not supported in Counter-Strike and many other mods. In this case you can block transmitting of this key.
bottomcolor integer ✔️ ❌ Bottom color of player's model. Used in Half-Life. Does not supported in Counter-Strike and many other mods. In this case you can block transmitting of this key.
rate integer ✔️ Maximum packets rate from the server to client in bytes/sec. ❌
cl_updaterate integer ✔️ Maximum game world update packets rate from the server to client in packets/sec. ❌
cl_lw integer ✔️ Enable client-side weapon firing prediction. ❌
cl_lc integer ✔️ Enable/disable lag compensation. ❌
*hltv integer ✔️ Flag of HLTV proxies. ❌
*sid int64 ✔️ ❌ Showing steam avatars in the scores tab. Don't try to hide steamid's by blocking this key. There are many other open places to get it: steam profile info, various webstats, forums, etc...
_cl_autowepswitch integer ❌ ❌ ❌ Switch automatically to picked up weapons. There is no need to transfer this key.
_vgui_menus integer ✔️ Enable/disable new style (gui) menus. ❌
_ah integer ❌ Enable/disable showing help messages. ❌
cl_dlmax integer ❌ Wanted fragment size when downloading files directly from the server. ❌
hslots integer ❌ HLTV number of slots. ❌
hdelay integer ❌ HLTV broadcasting delay. ❌
hspecs integer ❌ HLTV number of spectators. ❌