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

cg_currentSelectedPlayerName

SoF2 CVAR Console Commands for Soldier of Fortune 2

cg_currentSelectedPlayerName is a Soldier of Fortune 2 console variable (CVAR) in the HUD group. Name of the player currently being spectated. It is empty by default.

Default
(empty)
Syntax
seta cg_currentSelectedPlayerName ""
Notes
Managed by the spectator UI. Not intended for manual editing.

How to change it

Open the console with ~ and type the command:

seta cg_currentSelectedPlayerName ""

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.