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

DarkNeko
User Off Offline

can u give the time??
I like it!

old

boong
User Off Offline

has a bug that when the poll closes, after a while it keeps popping up, and the person has to stay closed to disappear, it hinders, have to stay closed all the time because it is the same poll showing up there.

otherwise, nice script!
I like it!

old

Suprise
BANNED Off Offline

im too lazy to read description
But dont care i dont say that stolen
I like it!
edited 1×, last 28.06.12 11:32:17 pm

old

Infinite Rain
Reviewer Off Offline

@user Suprise:
Read description first...
edited 1×, last 04.08.19 05:27:43 pm

old

Misho
User Off Offline

user Suprise it's not the same.
I like it!

old

uty206
User Off Offline

Good script, like it
I like it!

old

DevGru
User Off Offline

Nice script BTW.
I like it!

old

Misho
User Off Offline

[Q]Am i cool?
But who asked the Question?
You may want to fix it
This way it will be way better
But the idea is Fresh and Cool.
I like it!

old

DevGru
User Off Offline

@user Infinite Rain: When this happens:

Random guy: The script is easy. (This guy Didn't download)

Script uploader: Why don't you make it if it was easy?

(Later on, the guy who commented wont do it and will not comment again.)
I like it!

old

DevGru
User Off Offline

I hate when this happens...
I like it!

old

xBlazinGx
User Off Offline

esay script

old

loldlold123
User Off Offline

that was what im talking about HELL YEAH!
I like it!

old

Infinite Rain
Reviewer Off Offline

Damn! Thanks Ketamire I compeletely forgot about flacko!
edited 1×, last 04.08.19 05:27:57 pm

old

boong
User Off Offline

nice script.
more had to have that line that put USGN, and only those people who have the USGN the line that you can run!
I like it!
To the start Previous 1 2 Next To the start