
Help
Command Reference
You can enter CS2D script commands in the console, save them in cfg-files or bind them to keys. CS2D script commands are no Lua commands but they can still be executed in Lua scripts by using the Lua parse-function!
Commands
Category: all (342)
hudtxtalphafade
Categories
server
Parameters
- player (1-32): id of a player (or 0 for all)
- id (0-49): internal text id
- duration (ms): alpha fade/transition effect in milliseconds
- alpha (0.0-1.0): new alpha value
Info
Lets a HUD text (specified with id) change its alpha value. The transition will be smooth and will take the given time (duration).
You can let this effect be visible for all players (player=0) or to a certain player only (player=id of this player).
You can let this effect be visible for all players (player=0) or to a certain player only (player=id of this player).






