original:
http://forums.alliedmods.net/showthread.php?p=159545
the plugin above lets anyone say /vote <command> to start a vote to execute the <command> on the server console, with restrictions, such as Quit, Reload, Kill, amx_addadmin, But can people go: /vote is the admin stupid, and then the vote passes and "is the admin stupid" is executed on console
This plugin: same as the above exept THEY CAN ONLY START ALLOWED VOTES ONLY!!!!
this plugin checks the command the client wants to start with a file, if a part of the command in the file fits in to what the client said, the vote is allowed
Example: say /vote amx_slay z
"amx_slay z" has "amx_slay", so vote proceeds
Create a file in the configs folder called: allowed_votes.ini
add the commands you want to allow clients to vote to execute on console
Credits go to GHW
cvars:
Vote_Delay 60 <when can the people start another vote after a /vote
Vote_Lasts 15 <how much time the people have to answer before the plugin calculates the yes and nos
sv_vote 1 <enabled??
Vote_Advertise 60 <advertize it self every X secs