connect_hltv Command

This command connects to a remote HLTV (Half-Life Television) server to watch live or recorded matches via the spectator system.

Category
Network
Game
CS2 Only
Scope
Local
Cheats
Not Required

Command Arguments

These are the parameters connect_hltv uses. Required arguments must be provided for the command to work.

<Server IP>

StringRequired

The IP address of the HLTV server to connect to.

Default: cmd

Command Builder

Interactive command builder that generates a valid connect_hltv command for in-game use.

All required arguments filled!

Generated Command

connect_hltv cmd

Command Information

Learn more about how to use connect_hltv effectively.

Argument Data Types

Arguments can be of type String, Number, Bool, or Enum. Provide the correct type for the command to execute correctly.

Required Arguments

Arguments marked as Required must be provided for the command to work. Optional arguments can be left blank.

Command Scope

Commands can be Client-sided or Server-sided. Client-sided commands affect only your game client, while server-sided commands affect the entire server.

Cheats Required

Some commands require sv_cheats to be enabled. If a command has this requirement, it will not run on servers where cheats are disabled.