View Single Post
Author Message
Geit
Senior Member
Join Date: Oct 2009
Location: Home
Old 06-10-2010 , 18:18   [TF2] Force Auto-Assign
Reply With Quote #1

Allows mp_forceautoteam to be turned on for a set amount of time after map start, mp_forceautoteam forces players to select auto assign rather than getting to choose their team and thus helps to prevent team stacking.

Convars:
sm_forceautoteam_version - Current version of the plugin
sm_forceautoteamtime - Sets the amount of time in seconds to leave mp_forceautoteam turned on after map start, 0 disables - Default: 0

Notes:
Currently mp_forceautoteam does not stop the player from changing teams, just auto assigns them the first time they join.

Updates:
1.1
  • ConVar Hook is now done in the Plugin Start event rather than the configs executed event.
  • Cvar handle for mp_forceautoteam is now cached on plugin start

1.0
  • Initial Release
Attached Files
File Type: sp Get Plugin or Get Source (forceautoteam.sp - 2373 views - 1.3 KB)

Last edited by Geit; 06-14-2010 at 15:46.
Geit is offline