[Yank] Map Vote 
29 comments Cheers.
These last days, a bunch of people reached me asking for the map voting script I use on my Ares servers. As I'm a selfish persorn, I came here to send them
Suprise's map voting script instead but, unfortunately, it got removed from the file archive (he accidentally dragged his HARDPORN folder inside the script ZIP and stuff).
For some reason, today, the sun smiled at me and I decided to upload the one I use in my servers here.
It is very simple, customizable and was made to support any other script with the fewer amount of edits as possible.
Utilization
To install the script, firstly, you will need place the mapvote.lua and maplist.cfg files on the sys/lua/ directory. Afterwards, you'll need to open server.lua with a text editor and write this on its first line:
Do not use the autorun folder way!
To configure the map list, you simply need to open the maplist.cfg file with a text editor and add/remove maps.
After completing the setup the mapvote script is ready to use. To start a mapvoting poll, you need to type !votemap.
It's highly recommended to you to use
[Yank] Bass Powertool (Admin Script) (36) to prevent bugs and such as it was made to support it by 100%
Notes
If your server serveractions (F1, F2 or F3 buttons) are already occupied, don't worry, the script will automatically adapt himself to them so it will work without the need of changing anything.
Be sure that the script dofile is on the first line of your server.lua!
If you want a feature to be added, changed or removed, be sure to comment about it !
That's it, see you arround.
These last days, a bunch of people reached me asking for the map voting script I use on my Ares servers. As I'm a selfish persorn, I came here to send them

For some reason, today, the sun smiled at me and I decided to upload the one I use in my servers here.
It is very simple, customizable and was made to support any other script with the fewer amount of edits as possible.


To install the script, firstly, you will need place the mapvote.lua and maplist.cfg files on the sys/lua/ directory. Afterwards, you'll need to open server.lua with a text editor and write this on its first line:
Code:
1
dofile("sys/lua/mapvote.lua")
Do not use the autorun folder way!
To configure the map list, you simply need to open the maplist.cfg file with a text editor and add/remove maps.
After completing the setup the mapvote script is ready to use. To start a mapvoting poll, you need to type !votemap.
It's highly recommended to you to use







That's it, see you arround.
edited 16×, last 12.08.17 09:10:04 pm

Comments
29 commentsLog in!
You need to log in to be able to write comments!Log in
@
francis007:

_Yank has written:
To install the script, firstly, you will need place the mapvote.lua and maplist.cfg files on the sys/lua/ directory. Afterwards, you'll need to open server.lua with a text editor and write this on its first line:
Code:
1
dofile("sys/lua/mapvote.lua")
I get this error:
LUA ERROR: sys/lua/autorun/mapvote.lua:11: attempt to index local 'file' (a nil value)
Please help me!
LUA ERROR: sys/lua/autorun/mapvote.lua:11: attempt to index local 'file' (a nil value)
Please help me!
@
muxarus: Nope, completly written by me.
BTW 69 downloads, GG.

BTW 69 downloads, GG.


(he accidentally dragged his HARDPORN folder inside the script ZIP).
edit: forgot to like
@
Raaj Nadar: And not only, it is compatible with any other script.


Wtf don't you understand read the description before commenting he said he made a script compatible to his admin script.
So that we do not take more stress making useless incompatible files.
So that we do not take more stress making useless incompatible files.

I still have his map vote system on my sys folder, but I don't have his permission to reupload it. I don't know why he dragged that hard porn folder inside the zip script,but I guess for that thing he was banned from US.de. I miss that guy
Anyway, your map vote system is good too, so here's my like

Anyway, your map vote system is good too, so here's my like