Page 1 of 1
force to spec
Posted: 22 Feb 2013, 09:13
by br0phy
Hi i have noticed if you are idle in my server for like 5 minutes you get forced to spectate by the server does any one know how to turn this off cant find it in the server cfg its annoying when your playing matches and the game is paused
Re: force to spec
Posted: 22 Feb 2013, 09:29
by ShocK
user-server/sofplus/sofplus_sv.func
find
Code: Select all
// ---------------------------------------------------------------------------
// Move idle players to spectator mode
// ---------------------------------------------------------------------------
// !!! Don't forget to change the spf_sv_idle_to_spectator_config function !!!
sp_sc_func_load_file sofplus/spf_sv_idle_to_spectator.func
sp_sc_func_exec spf_sv_idle_to_spectator_init
Replace with
Code: Select all
// ---------------------------------------------------------------------------
// Move idle players to spectator mode
// ---------------------------------------------------------------------------
// !!! Don't forget to change the spf_sv_idle_to_spectator_config function !!!
////sp_sc_func_load_file sofplus/spf_sv_idle_to_spectator.func
////sp_sc_func_exec spf_sv_idle_to_spectator_init
Seeing as all you're doing is commenting out those last two lines then ignore this line
Code: Select all
// !!! Don't forget to change the spf_sv_idle_to_spectator_config function !!!
Restart server.
Re: force to spec
Posted: 22 Feb 2013, 10:02
by br0phy
thanks shock :;):