English XVote - Extended Vote System 1.0 icon

37 comments
14.11.09 01:56:31 am
like 31 like it!
6 kb, 1,743 Downloads
Kiffer-Opa
User
Offline Off
The Extended Vote System (XVote) extends the existing quite simple vote system by adding more voting options. With XVote, all humans can vote for:

• kick any player (not just from the same team)
• mapchange
• change of the game mode
• toggle Fog of War
• toggle Friendly Fire
• toggle infinite ammo
• restarting the round

All stuff is accessed by a Lua menu. By default, it can be accessed with [F4] or by saying "!xvote" (This text will be surpressed in the chat). If there is another script running which uses [F4] and shows a menu, the XVote will not appear. The serverinfo hook has a priority of -10.

Map and kick votes from the traditional vote menu and per console (cs2d cmd vote; cs2d cmd votemap) will be counted, too.

The voting rules are:
• All humans can vote anytime
• A vote option will be applied immediately if more than 50% of all human players vote for this option.

Installation:
Extract the file into the CS2D directory. Then, add this line to "sys/lua/server.lua":
Code:
1
dofile("sys/lua/xvote.lua")


Configuration:
The server can set some options in the file "sys/lua/xvoteconfig.lua". Currently, the XVote menu key and the map list can be configured. Each option has a long explantation on it.
By default, the maps listed in "sys/mapcycle.cfg" are the maps the players can vote for.
imageimage
ok This file has been reviewed and approved by Starkkz (30.11.15 02:16:00 am)

Comments

37 comments
Goto Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in
13.07.11 03:45:02 pm
like I like it!
Up
D1
User
Offline Off
Excellent script.

Good job.
01.07.11 01:58:14 pm
like I like it!
Up
buraxia3
User
Offline Off
Very usefull lua, good job. [***** Star]
23.05.11 06:31:59 pm
like I like it!
Up
PyKemis
User
Offline Off
pro I also assume you disabled voting where there's like less than 2 people rite?
02.07.10 10:32:25 am
like I like it!
Up
cartel
User
Offline Off
You too, so do you have? Just one person voted for the change maps, and already is changing .. I would like to in at least eight people voted for a map and not only changed the map, someone help me?
26.05.10 09:54:09 pm
like I like it!
Up
palomino
User
Offline Off
@Crazyx Ok, didn't know that. Thanks!:)
26.05.10 09:29:36 pm
like I like it!
Up
Crazyx
User
Offline Off
@Sunny Autumn: you're wrong.
For example: you're a CT and you want to vote a T which his ID is 1, then you write in console (or in chat, starting with /):
Code:
1
vote 1

It will appear:
Quote:
CT_name voted T_name (...)

Although that appeared, it will have no effect, since the whole CT team can /vote the T and the guy still wont be kicked.
95% of all players don't know this, but it's the truth. So if you're a T and a CT is voting you, don't worry, it wont have effect; as long as he's not in your team.
26.05.10 08:15:26 pm
like I like it!
Up
palomino
User
Offline Off
"kick any player"
You can do it without the script. Just type /vote <player id>
21.04.10 03:52:24 pm
Up
Arne
User
Offline Off
A very good voting script!
21.04.10 03:11:17 pm
like I like it!
Up
StirlizZ-Fapicon
Super User
Offline Off
COOL script.
21.04.10 01:21:06 am
like I like it!
Up
Heartless Soldier
User
Offline Off
I think it's one of most original scripts
21.04.10 12:27:16 am
like I like it!
Up
Starkkz
Moderator
Offline Off
good script
20.04.10 08:07:49 pm
like I like it!
Up
Crazyx
User
Offline Off
Best voting script ever made. love it. Can't wait for new version!
20.04.10 01:31:59 pm
Up
normix
User
Offline Off
can you please tell me how to make it only allow votemap and votekick??
11.04.10 08:26:17 am
like I like it!
Up
HaNwKs
User
Offline Off
cool,nice Script
10.04.10 09:04:55 pm
like I like it!
Up
DrPyromatic
User
Offline Off
Sometimes every server should have that :P.
10.04.10 09:01:23 pm
like I like it!
Up
Cure Pikachu
User
Offline Off
My no. 1 must have for my own server!
10.04.10 08:41:23 pm
like I like it!
Up
SQ
Moderator
Offline Off
Probably the best voting script so far.
Thanks for work & sharing it.
To the start Previous 1 2 Next To the start