Vote mod starts a vote on the beginning of each map and allows
you to chose a Counter-Strike:Source mini mod.
Features
- A cfg file where the server op adds in the plugin he/she wants to use.
Client Commands:
* sm_showmods - displays the mods on the server
Admin Commands:
* sm_votemod - Admin with vote flag can starts the vote
* sm_votemenu - Admins can select what mod they want
Server Commands:
* sm_defaultcfg <cfg file>
* sm_addvotemenu <menu text> <CVAR/On Command> <Off Command>
CVAR:
* sm_numplayers - Number of players before a vote is started
* sm_sethostname - Sets the hostname with "*Name Of Mod*" at the end of your current hostname
* sm_nomod - If set to 0 then No Mod is not option in the VoteMenu
Future Plans
* Add a cfg file for maps that should not start a vote.
Written By Soloist
Version 1.0
Last Updated On 9/20/2007
********************************************* ****************************************
Changelog
Version 1.0
* Release of the plugin
* NOTE: All config files go in "<mod folder>\cfg\VoteMod\" *
Extract Zip to <mod folder>
votemod.cfg
Code:
//
// Usage: "sm_defaultcfg <Default cfg>"
//
// <Default cfg> Default cfg file
//
// Example: Of the two commands(be sure to use quotes around parameters with spaces!)
// sm_defaultcfg "Default.cfg"
//
// Usage: "sm_addvotemenu <menu text> <Min Players> <CVAR/On Command> <Off Command>"
//
// The off command is optional, it is only there if plugins have two commands
// enabling and disabling a plugins.
//
// <menu text>: This is the text displayed in the menu itself for this item.
// <CVAR/On Command>: This is the cvar that enables and disables the plugin
// <Off Command>:
//
// Example: Be sure to use quotes around parameters with spaces!
// sm_addvotemenu "CVAR" 0 "sv_cvar"
// sm_addvotemenu "CFG File" 0 "cfgfile.cfg"
// sm_addvotemenu "On/Off" 4 "cmd_on" "cmd_off"
// sm_addvotemenu "Unload/Load" 4 "sm plugins load <plugin name>" "sm plugins unload <plugin name>"
//