AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Countdown in menu (https://forums.alliedmods.net/showthread.php?t=146222)

vL. 12-24-2010 18:24

Countdown in menu
 
How to make a countdown like in Galileo?

fysiks 12-25-2010 00:58

Re: New AMXX Menu System
 
Quote:

Originally Posted by vL. (Post 1378317)
How to make a countdown like in Galileo?

Doesn't Galileo use HUD messages? If yes, this is not the place to ask.

vL. 12-25-2010 04:28

Re: New AMXX Menu System
 
No I mean in the menu, where's the 5 second countdown to vote or something like that and then then when 5 secs passed you cant vote anymore.

Howdy! 12-25-2010 08:03

Re: New AMXX Menu System
 
Quote:

Originally Posted by vL. (Post 1378526)
No I mean in the menu, where's the 5 second countdown to vote or something like that and then then when 5 secs passed you cant vote anymore.

Do you know how to make countdown in hud? Its same thing.

Just format your menu to show the timer. And refresh your menu in the countdown function.

vL. 12-25-2010 08:57

Re: New AMXX Menu System
 
No idea how to do it :/

vL. 12-25-2010 11:35

Re: New AMXX Menu System
 
Well I got the countdown working in hud, but how to get it to the menu and when the timer hits 0 menu auto exits.

Brad 12-25-2010 11:42

Re: New AMXX Menu System
 
The best way to learn is to see how other plugins perform what you want to do.

vL. 12-25-2010 12:29

Re: New AMXX Menu System
 
Well I only know that ur Galileo has it, but I've tried to understand that, but theres just too mutch code in it.

fysiks 12-25-2010 12:41

Re: New AMXX Menu System
 
Quote:

Originally Posted by Howdy! (Post 1378626)
Just format your menu to show the timer. And refresh your menu in the countdown function.


vL. 12-25-2010 12:43

Re: New AMXX Menu System
 
Ive got the menu to show the timer for a long time now, but I'm having trouble refreshing it.


All times are GMT -4. The time now is 10:44.

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