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

g_inactivity

SoF2 CVAR Console Commands for Soldier of Fortune 2

g_inactivity is a Soldier of Fortune 2 console variable (CVAR) in the Gameplay group. Seconds of inactivity before a player is moved to spectator. Its default value is "180".

Default
180
Syntax
seta g_inactivity "180"
Example
seta g_inactivity "120"
Notes
0 = disabled. 180 = 3 minutes. Prevents AFK players occupying slots.

How to change it

Open the console with ~ and type the command:

seta g_inactivity "120"

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.