Big update since last posting..
changelog..
1.4:
- Complete re-write of almost the entire plugin.
- Added of Game Mode checks to determine 4 player and 8 player games.
- This allows for improved team switching with chat commands instead of a menu.
- While this is a tad more then is needed, it is what I use in other plugins as well.
- Reworked the !team menu to reduce (remove?) crashes and weird behavior.
- Addition of mins/maxes on pretty much every cvar.
- Most (if not all) of the content that anyone would want to tweak is found up top now.
- Added extended kick time to those who deliberately idle (!afk) instead of just afk'ing or crashing.
- This lets people take a short break for nature or what not.
- Added detection of the game being paused via the Pause plugin (might try and find a better way)..
- Added detection of end game events so as to not prematurely exit.
- Previous versions would auto spec everyone during the credits and then quickly R.T.L. (without sb_all_bot_team 1).
1.4.1
- Fixed a few bugs with the team menu.. it was possible to join a team that was full.
- Fixed event detection to disable during round ends (derr forgot the hooks).
1.4.2:
- Added Scavenge as a seperate gameMode from versus (I use the same detection in other plugins, keeping consistant only).
1.4.3:
- Worked on the new join code, fix a bug, create a bug, fix a bug.. and so on.
1.4.4:
- Added gametype.inc for game detection
- Added new game modes (via gametype.inc).
- Removed OnMapStart function - don't think it is needed.
- Added L4D check.
- Removed some debuging code.
- Maybe(?) fixed the unable to rejoin survivors in coop.
- Added a fix for several potential client related error message (eg: client 0 is not valid).
- Changed the PrintToChats in command functions to ReplyToCommands.
- Updated/cleaned up code throughout plugin.
Requires gametype.inc to compile, which is some code i use in a bunch of gamemode specific plugins.. saves on updating everything when a new mutation comes out. because of this, the sp wont compile anymore.
no longer uses !idle, instead use !afk. added !teams and !teami commands also.
You only need the smx unless your snooping in the code or compiling it yourself.