Thread: Player Map Rank
View Single Post
Plugin Info:     Modification:          Category:          Approver:   Johnny got his gun (102)
slurpycof
Senior Member
Join Date: Nov 2004
Old 02-15-2005 , 19:35   Player Map Rank
Reply With Quote #1

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
* $moddir/addons/amxx/configs/sql.cfg
*
* 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.
*
* EXAMPLE:
* addons\amxmodx\configs\maprank\de_dust.log
* Good = 1 Okay = 0 Bad = 0 Total votes = 1
* Good = 0 Okay = 0 Bad = 1 Total votes = 1
*
* Cvars
* ========
* amx_mapvotemode 1 (no display), 2 (admin display only) or 3 (display all)
*
* VERSIONS
* ========
* 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
*/
________
herbalaire reviews
Attached Files
File Type: zip playermaprank_php_files.zip (972 Bytes, 2449 views)
File Type: sma Get Plugin or Get Source (playermaprank2.1.sma - 4606 views - 9.0 KB)
File Type: txt playermaprank.txt (870 Bytes, 2643 views)

Last edited by slurpycof; 01-19-2011 at 05:00.
slurpycof is offline