Here's an updated version... I've tested it a bit... seems to work well... hopefully I'll have time to test it further... I won't update the OP until I've tested it more thoroughly
change log
PHP Code:
/* 0.0.2.4 + Added fast round restart option with configurable time
*
* 0.0.2.5 * Code adjustment from RedSword's comments in forums.
* - Removed set_random_model to make this plugin CS:GO capable
*
* 0.0.2.6 - Removed waiting list feature
* * Fixed timer to use ClientSerial instead of client value
*
* 0.0.2.7 + Added ability to reset player's cash to mp_startmoney when Ts win
*
* 0.0.2.8 * Fixed issues with bot management
*
* 0.0.3.0 * Fixed bot management
* + Manually added SMLib functions for less bloat
*
* 0.0.3.1 + Added CS_UpdateClientModel for team switches (new in SM 1.5.1)
* * Now requires SM 1.5.1+
* + Added a couple more functions from Updater (thanks GoD-Tony)
* + Now using AutoExecConfig include file
*
* 0.0.3.2 * Fixed menu not appearing to CTKiller
*
* 0.0.3.3 * Added checks for if game is CSGO to not use BR_PrintToChat
* * Changed the way bombsites are handled due to crash if bomb is dropped from player while dropping in wrong bombsite.
*
* 0.0.3.4 * Further edits to GetBombSiteIndex function
* + Added include for SDKHooks, not sure why it went missing.
* + Added different method to drop bomb for CS:GO
*
* 0.0.3.5 * Made changes for BR_PrintToChat... for CS:GO
*
* 0.0.3.6 + Added bot bombsite controls
*
* 0.0.3.7 * Enhanced bot control to bombsite and added bombsite area instead of bombsite center for where bots rush to.
* * Enhanced bot_quota stuff
*
* 0.0.3.8 * Removed all CS:GO code, this will be for CS:S only - CS:GO will have it's own plugin
*
* 0.1.0.0 * Reworked most of the code, simplified some functions.
*
* 0.1.0.1 * Now requires SM 1.6.0-hg4115 or later due to use of RequestFrame Function to handle bot teamjoins.
*
* 0.1.1.0 * Added weapon reset for when Terrorists win
* * Fixed some client validation code for visual enhancement only
*
*
* TO DO List
* Add Queue Manager
* - Queue for players waiting to jump in when someone leaves
* - Incorporate with bot management
*/