Welcome to Soldier of Fortune Community Forums
11 Dec 2018, 05:11


View unanswered postsView active topics



Reply to topic  [ 3 posts ] 
force to spec 
Author Message
Great Britain

User avatar

Joined:
Tue Jan 22nd, 2013
Location: England, Manchester
Posts: 91
Reply with quote
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


22 Feb 2013, 09:13
Profile
Great Britain

User avatar

Joined:
Mon Nov 21st, 2011
Location: UK
Posts: 3079
Reply with quote
user-server/sofplus/sofplus_sv.func

find
Code:
  // ---------------------------------------------------------------------------
  // 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:
  // ---------------------------------------------------------------------------
  // 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:
 // !!! Don't forget to change the spf_sv_idle_to_spectator_config function !!!

Restart server.


22 Feb 2013, 09:29
Profile WWW
Great Britain

User avatar

Topic author
Joined:
Tue Jan 22nd, 2013
Location: England, Manchester
Posts: 91
Reply with quote
thanks shock :;):


22 Feb 2013, 10:02
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 
Topic Views: 512


Who is online

Users browsing this forum: No registered users and 1 guest


Top
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group
www.sof1.org