This plugin will bring up a vote for players to pick if map is good, okay or bad when there is 5 minutes left.
* IF YOU ARE USING SQL
* map vote results saved into a MySQL database.
* requires sql module enabled!
* amx_sql_host, amx_sql_user, amx_sql_pass and amx_sql_db are set in
* How can I make my website with this?
* I have also attached a very basic php page that will display the results.
* IF YOU ARE NOT USING SQL
* This will store the vote results in the addons\amxmodx\configs\maprank
* folder. YOU MUST CREATE THE MAPRANK FOLDER BEFORE YOU INSTALL THIS!!!!
* It will save the map rank results in a new file for each map by name.
* Good = 1 Okay = 0 Bad = 0 Total votes = 1
* Good = 0 Okay = 0 Bad = 1 Total votes = 1
* amx_mapvotemode 1 (no display), 2 (admin display only) or 3 (display all)
* 0.1 First version
* 0.2 Added CVAR to allow setting voting results display to all/admins only/none
* 0.3 Changed DB insert to pre MySQL 4.1 format ("insert or update" instead of "insert on duplicate")
* 1.0 Changed to a full release and added language file support
* 1.1 Added check so that vote will not occur is server is empty
* 2.0 Added log file support for non-SQL servers
* 2.1 Updated MySQL code to comply with amxx 1.7