View Single Post
Plugin Info:     Modification:          Category:          Approver:   Geesu (62)
Soloist
Senior Member
Join Date: Jun 2004
Location: New York
Old 12-05-2005 , 02:07   Vote Mod (Version 4.6)
Reply With Quote #1

Code:
Vote mod starts a vote on the beginning of each map and allows
    you to chose a Counter-Strike mini mod.

    Features
        - A cfg file where the server op adds in the plugin he/she wants to use.

    Client Commands:
        * showmods - displays the mods on the server

    Admin Commands:
        * amx_votemod - Admin with vote flag can starts the vote
        * amx_votemenu - Admins can select what mod they want

    Server Commands:
        * amx_defaultcfg <cfg file>
        * amx_addvotemenu <menu text> <CVAR/On Command> <Off Command>

    Future Plans
        * Add a cfg file for maps that should not start a vote.

    Written By Soloist
    Version 4.6
    Last Updated On 09/24/06

    *************************************************************************************

    Changelog
        Version 4.6
            * Doesn't restart round when No Mod is voted
        Version 4.5
            * Fixed HUD channel problem
            * Add the ability to load mods by cfg files.
            * Added a minimum number of players for the mod.
            * Added default cfg file
        Version 4.1
            * Fixed HUD message error
            * Attempt to fix the HUD channel problem with it convicting with other plugins
        Version 4.0
            * Change the Setting hostname Define to a CVAR
            * The hostname is set automaticly now.
            * Added HUD message displaying which mod is loaded
            * Added a boolean so that only one vote can be started
        Version 3.5
            * Changed server command to amx_addvotemenu <menu text> <CVAR/On Command> <Off Command>
            *  so now the server can run mods with on/off commands i.e. GabenMod
            * Added client command showmods to display mods on the server
            * Cleaned Code
        Version 3.0
            * There must be 2 players before vote starts
            * Cleaned Code
        Version 2.6
            * Made No Mod the default if no votes are made
            * Fixed Admin Menu bug
        Version 2.5
            * Added Admin Menu
            * Cleaned Code
        Version 2.1
            * Fixed No Mod Bug
        Version 2.0
            * Reworked code.
            * Added a config file.
            * All mods are supported
        Version 1.1
            * Clean up code
            * Fixed counting bug
            * Added define for setting the hostname
        Version 1.0
            * Release of the plugin
All cfg files goes in addons/amxmodx/configs/VoteMod
including the votemenu.cfg


Credits:
vittu for helping me with the menus
makers of menufront plugin
Attached Files
File Type: sma Get Plugin or Get Source (amx_votemod.sma - 12117 views - 10.6 KB)
File Type: cfg votemenu.cfg (762 Bytes, 9096 views)

Last edited by Soloist; 08-15-2009 at 02:36.
Soloist is offline
Send a message via ICQ to Soloist Send a message via AIM to Soloist Send a message via MSN to Soloist Send a message via Yahoo to Soloist