Deathmatch Team Balancer v1.0.0.4
Simple team balancer plugin for CS:S Deathmatch (mp_autoteambalance breaks in Deathmatch)
Server Console Vars:
dmtb_enable "1" // Enable the Deathmatch Team Balancer
dmtb_checktime "30.0" // How often to check if the teams are balanced - min = 30 (30 seconds) max = 600 (10 mins)
dmtb_playerlimit "2" // How uneven the teams can get before getting balanced - Min = 1 Max = 32
dmtb_adminsimmune "1" // Enable admins immunity from getting switched 1 = on / 0 = off
Install:
dmtb.smx -> addons\sourcemod\plugins
dmtb.sp -> addons\sourcemod\scripting
plugin.dmtb.cfg -> cfg\sourcemod
Version History:
v1.0.0.4
- Fixed a few bugs with GetUserAdmin
- Little less overhead on the code
v1.0.0.33
- Fixed any possible bugs with MaxClients & the reserved slots plugin
- Added checks to swap dead players first
v1.0.0.32
- Added an admin immunity option
v1.0.0.31
- Reverted the previous change
- Fixed a small bug with the max clients checking
v1.0.0.3
- Balance bug should finally be fixed - thanks to 1694 for the bug reports
v1.0.0.2
- Few more checks added to the code
v1.0.0.1
- Couple of internal code changes
Thanks to oxymoron for the main idea & all the diffrent code examples on the forums from various plugin authors
have fun dubbeh