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
-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
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 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
1,011 b, 604 Downloads