AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   show time remaining every minute (https://forums.alliedmods.net/showthread.php?t=125830)

tuty 05-02-2010 17:17

show time remaining every minute
 
Ok i set a task to TIME = 300 ( 5 mins)

i want to show people every one minute passed time remaining.
Someting like:
time remaining 3 minutes
time remaining 2 minutes

etc..

KadiR 05-02-2010 17:51

Re: show time remaining every minute
 
set_task 60? O.o

tuty 05-03-2010 00:05

Re: show time remaining every minute
 
i said i already set a task to 300, and i need to show in chat at every minute passed, 2 minutes remaining, 1minute remaining... and remove the task after 300 sec's

fysiks 05-03-2010 00:10

Re: show time remaining every minute
 
Quote:

Originally Posted by KadiR (Post 1168303)
set_task 60

Are you the same tuty that has plugins that are approved? I wouldn't expect a question like this from you.

tuty 05-03-2010 06:23

Re: show time remaining every minute
 
Quote:

Originally Posted by fysiks (Post 1168806)
Are you the same tuty that has plugins that are approved? I wouldn't expect a question like this from you.


haha funny, i am not good at math so i need some help calculating time.. roger that?

KadiR 05-03-2010 11:32

Re: show time remaining every minute
 
Quote:

Originally Posted by fysiks (Post 1168806)
Are you the same tuty that has plugins that are approved? I wouldn't expect a question like this from you.

Can't get the point right now. :|

fysiks 05-03-2010 18:46

Re: show time remaining every minute
 
PHP Code:

set_task(60.0"function"___"a"5

5 X 60 = 300

Quote:

Originally Posted by KadiR (Post 1169181)
Can't get the point right now. :|

Sorry, that wasn't actually a response to your post, it was a response to the OP. I was saying that your answer is the correct answer essentially.

tuty 05-05-2010 07:43

Re: show time remaining every minute
 
solved anyway
^^


All times are GMT -4. The time now is 03:54.

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