AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Vote Mod (Version 4.6) (https://forums.alliedmods.net/showthread.php?t=21585)

Soloist 12-05-2005 02:07

Vote Mod (Version 4.6)
 
8 Attachment(s)
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

v3x 12-05-2005 02:10

Where's the .sma?

Soloist 12-05-2005 02:13

I clicked the submit button before I was done, but its there now.

Jordan 12-05-2005 23:30

G.C. soloist... LONNNGGGG time no see.... cool idea :)

How ya' been? :D

(oh yeah, p.s. I know you through G.C. Slash if you remember him :P)

Soloist 12-13-2005 20:13

Does no one have any problems with this? or is this just not being used. I would like to know some bugs so I can fix them.

Quote:

Originally Posted by satanwoj
G.C. soloist... LONNNGGGG time no see.... cool idea :)

How ya' been? :D

(oh yeah, p.s. I know you through G.C. Slash if you remember him :P)

Good and yourself. and I do still talk to Slash.

FeliX 12-22-2005 19:59

You might consider adding support for Diablo Mod and Runemod:

http://forums.alliedmods.net/showthread.php?t=20184
http://forums.alliedmods.net/showthread.php?t=18198

Xanimos 12-22-2005 22:25

Might be better if you had an ini file that controled this....you have the text said in menu and the cvars to change.

Soloist 12-22-2005 23:28

Quote:

Originally Posted by FeliX

I can do that.

Quote:

Originally Posted by Suicid3
Might be better if you had an ini file that controled this....you have the text said in menu and the cvars to change.

Well since this is my first plugin, adding something like that would be rather difficult. If you showed me some plugins that did that I could look to see how its done and add it.

Soloist 12-24-2005 05:18

Updated
Version 1.1 up

badboyz 12-26-2005 22:30

Does this plugin cause any lag? I mean, cmon, you can pick different mods like SH and warcraft. That has to make some lag...


All times are GMT -4. The time now is 11:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.