English Vote Map (5 Random) icon

9 comments
16.12.10 07:30:24 am
like 2 like it!
2 kb, 752 Downloads
Polygon3D
BANNED
Offline Off
I made this for [LaG] Cortez (I don't know what he's planning to do).

It's a script that...picks 5 random maps from your cs2d/maps folder. And then allows players to vote on it.

15 rounds for a map. Voting on 15, and switching on 16. (You can edit this setting)

I hope you guys learn a lot from this script.

I'm using os.execute so if you are using ubuntu you need to change the command (I added it, just un-comment, and comment windows os.execute).

roundvote=15 (change it! :D)

Also make sure you have 5 maps in your cs2d/maps folder.
If you do not have 5 maps, the server will loop crash.
edited 1×, last 16.12.10 08:24:04 am
x This file has been reviewed and declined by Sparty (08.07.16 03:41:34 pm)
There are already files in the archive which have a similar content. Please create files which are more different from existing ones. Use the description to explain us the advantages of your version.

Comments

9 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
23.11.13 04:27:03 pm
Up
Suprise
BANNED
Offline Off
@user Kantos: lol
If you didn't notice already, the uploader is banned. That means he won't be able to upload screens shots.
23.11.13 03:43:46 pm
Up
Kantos
BANNED
Offline Off
ScreenShots or i tell useigor(RUS)
20.02.12 03:04:14 pm
Up
xBlazinGx
User
Offline Off
WHERES SCREENSHOTS?
20.11.11 08:14:31 pm
Up
cortz
Super User
Offline Off
This script is outdated.
20.11.11 08:08:26 pm
Up
sheeL
User
Offline Off
Outupdated!
edited 1×, last 28.06.16 07:29:53 pm
16.12.10 07:50:39 pm
Up
Polygon3D
BANNED
Offline Off
--ATTENTION: If you are running windows use this (also change dir if required)
os.execute("dir \"D:/CS2D/maps\"" .. " > tmpmap")
--ATTENTION: If you are running an unix based os use this
--os.execute("ls -a1 \"D:/CS2D/maps\"" .. " > tmpmap")

You need to change it if your os is unix-based.

Also change the map directory.

Edit:

I could have used console command 'maps', but at that time I didn't realize there was such a command.
edited 1×, last 19.12.10 01:19:57 am
16.12.10 03:11:54 pm
Up
Kel9290
User
Offline Off
Nice script... Useful
EDIT: WTF not work T_T (error on 26 string)
edited 2×, last 16.12.10 03:30:02 pm
16.12.10 03:07:16 pm
like I like it!
Up
Freeeeez
User
Offline Off
nice script, but what do you think if it will choose 5 maps from the mapcycle?
16.12.10 08:18:19 am
like I like it!
Up
Ax3
User
Offline Off
Wow, thats really useful for w/o admin servers. 5/5
To the start Previous 1 Next To the start