Raised This Month: $208 Target: $400
 52% 

Fun vote


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   BAILOPAN (72)
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 11-19-2004 , 18: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:	20172
Size:	30.0 KB
ID:	1915  
Attached Files
File Type: sma Get Plugin or Get Source (funvote.sma - 2413 views - 11.0 KB)
mICKE is offline
Send a message via ICQ to mICKE
 


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 20:04.


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