ChamberVote2 Plugin
Info: The plugin starts a vote for Aliens, 5 seconds after round begins, to choose which Alien Chamber to begin with. After 2nd hive is built, a new vote begins with the last 2 chambers, to decide which is next. After 3rd hive is built, all chambers are free to be built.
If all hives die, plugin will disable itself and all chambers will be unlocked.
Required: AMXX v1.60
Original Author By: Seraph
Revised/Renewed By: OneEyed
Tested on win32, (most-likely will work on Linux)
NOTE: Plugin will bug if you build 2nd hive before voting time is over (on first chamber). Only way this can happen is if your using sv_cheats 1
UPDATED - 1/21/2006 44P.M. CST:
-Fixed to work on AMXX 1.60
UPDATED - 7/11/2005 3:24P.M. CST :
-Fixed All hives down chamber unlock message
-Fixed Game ending really fast messing up voting
-Fixed bug with choosing sensory first, then voting movement and it breaking plugin.
UPDATED - 6/23/2005 2:24P.M. CST :
-FIXED 2nd round bugging.
UPDATED - 6/23/2005 12:07A.M. CST:
-Plugin working, download away! Fixed all known bugs with first version.
Code:
#include <amxmodx>
#include <ns>
#include <engine>
#include <fakemeta>
//Set color of Menu
#define R 255
#define G 200
#define B 100
//Set Voting Time
#define VOTE_TIME 25.0