Author Topic: Force player to team? ("sv forcejoin"?)  (Read 981 times)

IronFist

  • Autococker
  • Posts: 1304
Force player to team? ("sv forcejoin"?)
« on: July 21, 2008, 04:31:48 PM »
I thought there was a server command to force a player to a certain team. I looked through the docs and saw nothing, so I tried "sv forcejoin". This causes both windows and linux builds of b21 to segfault at the console, and using it in-game results in "No game loaded."

Is there certain arguments I can use with it so it won't do this, or was there never a force join command?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Force player to team? ("sv forcejoin"?)
« Reply #1 on: July 21, 2008, 04:38:01 PM »
Did you load a map?  Sounds like you just started the server with no map.

Edit: If you're using it at the console and are not the server, just use "forcejoin".  "sv" commands are for when you're at the server console.  They shouldn't crash the game, though.  I'll have to check into that.

IronFist

  • Autococker
  • Posts: 1304
Re: Force player to team? ("sv forcejoin"?)
« Reply #2 on: July 21, 2008, 04:49:06 PM »
Thanks -- I was just putting stuff into the server console, didn't think to try "forcejoin" while in-game. I guess it's implemented by the server library, but not exposed via "sv" ?

Either way, that's all I needed to know!