Raised This Month: $ Target: $400
 0% 

Round Time shows 00:00


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Randomize
BANNED
Join Date: May 2012
Location: in your heart
Old 06-08-2013 , 10:55   Round Time shows 00:00
Reply With Quote #1

I've tried two ways
PHP Code:
new g_iTimeleft[32]
    new 
timeleft get_timeleft()
    new 
mins timeleft/60
    
new secs timeleft%60
    formatex
(g_iTimeleft31"%02d : %02d"minssecs
and

PHP Code:
new g_iTimeleft[32]
    new 
timeleft get_cvar_num("mp_roundtime")
    new 
mins timeleft/60
    
new secs timeleft%60
    formatex
(g_iTimeleft31"%02d : %02d"minssecs
The first way showed the time 00:00 and the second way showed 00:03.
Randomize is offline
Randomize
BANNED
Join Date: May 2012
Location: in your heart
Old 06-30-2013 , 23:26   Re: Round Time shows 00:00
Reply With Quote #2

bump
Randomize is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-01-2013 , 00:19   Re: Round Time shows 00:00
Reply With Quote #3

Question is what you need.

Timeleft on map, then it is first one, but mp_timelimit has to be different from 0.
Timeleft in round, then search the forum, code is already there ;)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Randomize
BANNED
Join Date: May 2012
Location: in your heart
Old 07-01-2013 , 04:36   Re: Round Time shows 00:00
Reply With Quote #4

Okay, thanks Connor.
Randomize is offline
Reply



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 16:24.


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