Live 64 humans online 13 active servers Peak online today 70 Record 102

cg_selectedPlayerName

SoF2 CVAR Console Commands for Soldier of Fortune 2

cg_selectedPlayerName is a Soldier of Fortune 2 console variable (CVAR) in the HUD group. Name of the currently selected player in the spectator UI. It is empty by default.

Default
(empty)
Syntax
seta cg_selectedPlayerName ""
Notes
Managed by the in-game spectator UI. Not intended for manual editing.

How to change it

Open the console with ~ and type the command:

seta cg_selectedPlayerName ""

To keep the setting, put the same line (starting with seta) in your config file, such as sof2mp.cfg in the game's base folder.