Raised This Month: $ Target: $400
 0% 

time left in a round


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-10-2007 , 05:15   Re: time left in a round
Reply With Quote #7

I wish it would be so easy, but in fact you have to store mp_roundtime at newround event, because it can be change during the round by an admin or a plugin, so your way will give bad results.
You also have to deal with freezetime, so the round begins at roundstart event and not newround as you did.
Last thing is halflife_time need engine module.
get_systime return integer that make results less accurate.
ConnorMcLeod is offline
 



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:14.


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