Raised This Month: $7 Target: $400
 1% 

Fun vote


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   BAILOPAN (72)
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 11-19-2004 , 17:35   Fun vote
Reply With Quote #1

Author: mICKE
WWW: None, Yet
Version: 0.40
Requires: Nothing Special
Updated: 25st November 04

Allows you to have a vote before every game if you wants fun mode.
When the vote is it will pause or unpause the plugins you have defined.

Works for NS, CS and should work for any other mod.

Commands:
amx_funvote_start - Starts a new fun vote

Cvars:
amx_funvote_wait 60 - How long the server shall wait before it starts the vote, NOT for NS
amx_funvote_hud 1 - 0/1 . Decides if the hud with the changes should be displayed
amx_funvote_uservote 1 - 0/1 . Decides if users could start a vote
amx_funvote_delay 60 - The delay to next vote nomination
amx_funvote_ratio 0.30 - How many players that shall nominate before the vote starts

How To Define Plugins:
Define the plugins you want to have in fun mode in the funvote.ini file.
If you dont have it: Start the server with the plugin and it will create the file for you.
The syntax is as following:
plugin statsu.amxx - Adds a plugin into fun vote (you must also have it in plugins.ini. its a limit in AMXX)
pause sv_cheats 0 - when voted off, the cvars with pause first will be run.
enable sv_cheats 1 - when voted on, the cvars with enable will be run.
hud Low Gravity - adds a line to the changes hud

Please tell me if you know some bugs/have any suggestions/ideas or something like that.

Quote:
Last Changelog:
V 0.40(25.11.04) -
* Added a way so the users can start a vote too
Attached Thumbnails
Click image for larger version

Name:	funvote.jpg
Views:	21537
Size:	30.0 KB
ID:	1915  
Attached Files
File Type: sma Get Plugin or Get Source (funvote.sma - 3074 views - 11.0 KB)
mICKE is offline
Send a message via ICQ to mICKE
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-19-2004 , 19:27  
Reply With Quote #2

That's good. I know somebody requested this, I'm not sure if it was you or you are doing this for them. However, I wouldn't name this plugin Fun Mode since it isn't really Fun Mode, it's a Fun Mode Vote.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
xuvurex
Junior Member
Join Date: Aug 2004
Old 11-19-2004 , 22:30  
Reply With Quote #3

so....im not sure i get this....we just put like uwc3.amxx in the fumode.ini and say superhero and eevery map it will have a vote for what mod they vote for?
__________________
Im Am Currently Running A Rune Server Thanks To Kaddar's Mod Which I Think Is Excellent:

Game: Condition Zero
Ip: 24.81.82.174:27015
xuvurex is offline
Send a message via AIM to xuvurex Send a message via MSN to xuvurex
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 11-20-2004 , 03:22  
Reply With Quote #4

Right now its for ns, but i can make it work for cs too if somebody wants it
mICKE is offline
Send a message via ICQ to mICKE
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 11-20-2004 , 08:06  
Reply With Quote #5

It works like this:

You define which plugins you want to have in funmode like test.amxx.
When the vote is it will pause or unpause the plugins.

Does anyone want me to "port" this plugin to cs?
mICKE is offline
Send a message via ICQ to mICKE
fitzy6868
Member
Join Date: Jul 2004
Old 11-20-2004 , 13:13   ?
Reply With Quote #6

Should the plugins be in the plugins.ini also or just the funmode.ini?
__________________

Tactical Warfare [.tw]
64.185.230.136:27015
fitzy6868 is offline
Send a message via AIM to fitzy6868
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 11-20-2004 , 13:22  
Reply With Quote #7

I'd like this plugin ported to cs if ya can sounds like a good idea for a server that doesn't always want to be a custom map server
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 11-20-2004 , 13:54  
Reply With Quote #8

Quote:
Originally Posted by fitzy6868
Should the plugins be in the plugins.ini also or just the funmode.ini?
the plugins should be in both.
This plugin "only" pauses and unpauses the plugins.
Do you want that you only have to specify them in funmode.ini?

Quote:
Originally Posted by atambo
I'd like this plugin ported to cs if ya can sounds like a good idea for a server that doesn't always want to be a custom map server
Ok, shall see what i can do.
Is a vote when every map starts ok?
mICKE is offline
Send a message via ICQ to mICKE
-=STN=- MaGe
Veteran Member
Join Date: Apr 2004
Location: Asault World
Old 11-20-2004 , 15:03  
Reply With Quote #9

when pause UWC3 and warcraft 3 and csdm the still have settings running on the server. i mean you cant pause them. you can only place a command to turn them on or off like csdm_enable 1
__________________



-=STN=- MaGe is offline
Send a message via Yahoo to -=STN=- MaGe
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 11-20-2004 , 15:31  
Reply With Quote #10

a vote at like 1 minute into the map for the different plugins would be nice so everyone has time to load the map or if its possible make it so an admin can start the vote but having them both would be best
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode