Dateien

> > CS2D > Lua Scripts > XVote - Extended Vote System 1.0
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch XVote - Extended Vote System 1.0 >

37 Kommentare6 kb, 2.157 Downloads

alt XVote - Extended Vote System 1.0

Kiffer-Opa
User Off Offline

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":
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.
Zugelassen von Starkkz

Download Download

6 kb, 2.157 Downloads

Kommentare

37 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

D1
User Off Offline

Excellent script.

Good job.
Ich mag es!

alt

buraxia3
User Off Offline

Very usefull lua, good job. [***** Star]
Ich mag es!

alt

Apache uwu
User Off Offline

pro I also assume you disabled voting where there's like less than 2 people rite?
Ich mag es!

alt

cartel
User Off Offline

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?
Ich mag es!

alt

palomino
User Off Offline

@Crazyx Ok, didn't know that. Thanks!:)
Ich mag es!

alt

Crazyx
User Off Offline

@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 /):
1
vote 1
It will appear:
Zitat
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.
Ich mag es!

alt

palomino
User Off Offline

"kick any player"
You can do it without the script. Just type /vote <player id>
Ich mag es!

alt

Arne
User Off Offline

A very good voting script!

alt

Heartless Soldier
User Off Offline

I think it's one of most original scripts
Ich mag es!

alt

Starkkz
Moderator Off Offline

good script
Ich mag es!

alt

Crazyx
User Off Offline

Best voting script ever made. love it. Can't wait for new version!
Ich mag es!

alt

normix
User Off Offline

can you please tell me how to make it only allow votemap and votekick??

alt

HaNwKs
User Off Offline

cool,nice Script
Ich mag es!

alt

DrPyromatic
User Off Offline

Sometimes every server should have that :P.
Ich mag es!

alt

Cure Pikachu
User Off Offline

My no. 1 must have for my own server!
Ich mag es!

alt

SQ
Moderator Off Offline

Probably the best voting script so far.
Thanks for work & sharing it.
Ich mag es!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang