Files

> > CS2D > Lua Scripts > Poll system v1.0
Files overviewCS2D overviewLua Scripts overview

English Poll system v1.0 >

29 comments1,011 b, 601 Downloads

old Poll system v1.0

Infinite Rain
Reviewer Off Offline

Hello guys today I bring you a new script!
I know it was done before but version by Dark_Soul is very buggy.

Description:
This mod allows you to add poll in the game, any poll question and any poll votes!

Commands:
Quote
makepoll "<name>" "<buttons>"
-Creating new poll
-E.G. makepoll "Is this serer is awesome?" "Yes,No"

closepoll
-Closing poll


Imoprtant functions for those who want to edit this:
1
2
3
function: poll:open(name, buttons) -- making new poll (buttons just like in console)
function: poll:refresh() -- refreshing poll (refreshing huds)
function: poll:close() -- closing poll

Installing:
Download this script
Install it to sys/lua
Open server.lua (if mp_luaserver is set to "sys/lua/server.lua")
Write: dofile('sys/lua/poll.lua')
Done!

Credits:
Thanks to user Flacko for his quote finding function.

License:
Do whatever you want with this, but credits to me on reuploading
edited 3×, last 15.03.12 06:07:49 am
Approved by CY

Download Download

1,011 b, 601 Downloads

Comments

29 comments
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

old

Apache uwu
User Off Offline

You should really give some credit to user Flacko. It's a good idea, polls should stop after a time limit set or when everyone has voted (/ majority).
I like it!

old

Dux
User Off Offline

@user Yates: Yes.. true

old

EngiN33R
Moderator Off Offline

@user Dux: Not everything in a 'game of shots' needs to be about 'shots'.

It's a nice script, all in all. Not much to say, but I like it, it's good.
I like it!

old

Yates
Reviewer Off Offline

@user Dux: You could modify this for a cool kick system.

old

Dux
User Off Offline

I thought this were a game of shots
Not a social network

old

Yates
Reviewer Off Offline

Lags and gay. (Don't take this seriously) ;DD

Dunno what I could use it for, maybe to clarify my epicness or some random shit. Good, but, meh.

old

Alistaire
User Off Offline

I love your cynical poll.

old

Sniper_x
User Off Offline

Cool !!
I like it!
To the start Previous 1 2 Next To the start