Welcome to Soldier of Fortune Community Forums
23 Oct 2019, 23:49


View unanswered postsView active topics



Reply to topic  [ 3 posts ] 
Sofplus 2012* swap/play/spec 
Author Message
Great Britain

User avatar

Joined:
Mon Nov 21st, 2011
Location: UK
Posts: 3079
Reply with quote
To enable rcon swap/spec/play
Open user-server/sofplus/sofplus_sv.func

Find
Code:
 // ---------------------------------------------------------------------------
  // Play / spec aliasses
  //   play <slot|*>
  //   spec <slot|*>
  // ---------------------------------------------------------------------------

  ////sp_sc_alias play "sp_sv_client_play #{1}"
  ////sp_sc_alias spec "sp_sv_client_spec #{1}"


  // ---------------------------------------------------------------------------
  // Team aliasses
  //   blue <slot|*>
  //   red <slot|*>
  //   swap <slot|*>
  // ---------------------------------------------------------------------------

  sp_sc_alias blue "sp_sv_client_blue #{1}"
  /////sp_sc_alias red  "sp_sv_client_red #{1}"
  ////sp_sc_alias swap "sp_sv_client_swap #{1}"


Replace with
Code:
 // ---------------------------------------------------------------------------
  // Play / spec aliasses
  //   play <slot|*>
  //   spec <slot|*>
  // ---------------------------------------------------------------------------

  sp_sc_alias play "sp_sv_client_play #{1}"
  sp_sc_alias spec "sp_sv_client_spec #{1}"


  // ---------------------------------------------------------------------------
  // Team aliasses
  //   blue <slot|*>
  //   red <slot|*>
  //   swap <slot|*>
  // ---------------------------------------------------------------------------

  sp_sc_alias blue "sp_sv_client_blue #{1}"
  sp_sc_alias red  "sp_sv_client_red #{1}"
  sp_sc_alias swap "sp_sv_client_swap #{1}"


24 Jan 2013, 09:00
Profile WWW
Great Britain

User avatar

Joined:
Mon Dec 19th, 2011
Posts: 488

TheDankNarwhal
Reply with quote
thanks, i was gonna post this myself.


24 Jan 2013, 09:21
Profile
Great Britain

User avatar

Topic author
Joined:
Mon Nov 21st, 2011
Location: UK
Posts: 3079
Reply with quote
It's only the "coding for dummies" version of what Retard posted in the other thread (personally though it may aswell have been written in Swahili - no offence Retard, non coders like me need it simplified  :tongue: )
I think alot of cvars are off by default in 2012*


24 Jan 2013, 09:51
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 
Topic Views: 290


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:
Powered by phpBB® Forum Software © phpBB Group
www.sof1.org