AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Voting For Timelimit (https://forums.alliedmods.net/showthread.php?t=73467)

many 06-29-2008 13:42

Voting For Timelimit
 
4 Attachment(s)
Voting For Timelimit

.: Description :.
This Plugin start voting for timelimit in 3 minutes after the beginning of a map.
There are 5 options, and u can change it.
Add new vote count system:
Calculate the average number of minutes from the options which was voted.
For example:

5 players vote for 20 minutes
4 players vote for 60 minutes

5x20 + 4x60 = 340 minutes
4 + 5 = 9 votes(total)
Then 340 / 9 = 37,77 and rounds the result
Final result - 40 minutes
.: Cvars :.
Code:

amx_countsys 0|1 - old vote count system|new vote count system
amx_tl_1 - you can change 1 option in menu by this cvar
amx_tl_2 - you can change 2 option in menu by this cvar
amx_tl_3 - you can change 3 option in menu by this cvar
amx_tl_4 - you can change 4 option in menu by this cvar
amx_tl_5 - you can change 5 option in menu by this cvar

Default:
1. 20 minutes
2. 30 minutes
3. 40 minutes
4. 50 minutes
5. 60 minutes

Thnx Pr4er for help
Kryzu for the idea of new count system

AntiBots 06-29-2008 14:20

Re: Voting For Timelimit
 
Good Idea :D

I test now.

many 06-29-2008 14:33

Re: Voting For Timelimit
 
I made it for my Jump server)

YamiKaitou 06-29-2008 14:58

Re: Voting For Timelimit
 
You spelled minutes wrong, lol

many 06-29-2008 15:20

Re: Voting For Timelimit
 
=)))) updated..

EvolDay 06-30-2008 02:49

Re: Voting For Timelimit
 
i like this idea ill give this plugin a test run. and lol @ the minutes thing.

Pepe.argento 07-07-2008 03:16

Re: Voting For Timelimit
 
Nice Job!
Is perfect to my KZ server !
Thx

EvolDay 07-07-2008 20:27

Re: Voting For Timelimit
 
Code:

L 07/08/2008 - 15:23:30: Start of error session.
L 07/08/2008 - 15:23:30: Info (map "surf_simpsons_final") (file "addons/amxmodx/logs/error_20080708.log")
L 07/08/2008 - 15:23:30: Played 14 is not in game
L 07/08/2008 - 15:23:30: [AMXX] Displaying debug trace (plugin "timelimitvote.amxx")
L 07/08/2008 - 15:23:30: [AMXX] Run time error 10: native error (native "menu_cancel")
L 07/08/2008 - 15:23:30: [AMXX]    [0] timelimitvote.sma::menu_handler (line 48)


NepazZ 07-22-2008 07:16

Re: Voting For Timelimit
 
Cool Plugin..I will test it...

fosco 07-29-2008 17:34

Re: Voting For Timelimit
 
ive been using this plugin for the past 2 days now with no problems.


All times are GMT -4. The time now is 09:26.

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