Jump to content


Submitter

File Information

  • Submitted: Feb 16 2011 01:32 PM
  • Last Updated: Feb 16 2011 01:32 PM
  • File Size: 19.28KB
  • Views: 9157
  • Downloads: 2475
  • Approved by: Salmus
  • Approved on: 16 February 2011 - 03:45 PM

Download RockTheVote Custom 1.8

- - - - -



Description
This plugin allows the players on your server to vote for a mapvoting.
The players can say in the chat "/rockthevote", "rockthevote" or "rtv" to vote for the vote.
The maps will be automaticle loaded from the maps.ini (if it exists) or from the mapcyclefile.

Installation
1. Download the rockthevote_custom.sma and compile it on your local machine.
2. Put the rockthevote_custom.amxx in your plugins folder.
3. Add at the end from the plugins.ini this line: rockthevote_custom.amxx
4. Open your amxx.cfg (mod/addons/amxmodx/configs/) and add the cvar's.
5. Restart or change the map from your server.

CVAR's
amx_timevote number - Default 5 - After 5 MINUTES (Default) is rockthevote allowed.
amx_howmanypercentage float - Default 0.30 - When 30% of the players said rockthevote then comes the mapvote.
amx_howmanyvotes number - Default 8 - When 8 (default) players said rockthevote then comes the mapvote.
amx_rocktime time - Default 10 - After 10 (default) seconds the voting is over and the server change the map.
amx_directmapchange - Default 0 - The server will display a hudmessage and at the start of the new round the map will be changed.

Credits
Made by DA
Deagles - The main idea
arkshine - Some code
X-olent - Percentage idea
Cheap_Suit - Mapchooser code
AMXX Def Team - Some code from mapchooser

Notes
1. You have to compile it on your local machine. Because the webcompiler isn't updated.
2. I think it doesn't run on windows because the directory construction is other than linux. Test it, if it's not work pm me please.
3. This plugin doesn't run without admincmd.amxx.
V1.8
- Added a function that the map will changed at the start of the new round

V1.7
- Renamed the cvar "amx_howmanypercantage" to "amx_howmanypercentage"

V1.6
- All players get a message if a player said rtv





Other files you may be interested in ..





  • 59 Total Files
  • 19 Total Categories
  • 9 Total Authors
  • 120281 Total Downloads
  • Krond Functions Latest File
  • Salmus Latest Submitter

0 user(s) are online (in the past 15 minutes)

0 members, 0 guests, 0 anonymous users