Raised This Month: $ Target: $400
 0% 

Better way for getting played time?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Estland
Member
Join Date: Nov 2012
Old 12-28-2013 , 16:39   Better way for getting played time?
Reply With Quote #1

Is there a better way than new played = floatround(get_gametime())?

Sometimes floatround bugs, because it takes x.99999 or something.

// AAAAAND IT'S DONE
new played = get_cvar_num("mp_timelimit")*60 - get_timeleft()

Last edited by Estland; 12-28-2013 at 17:43.
Estland 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 10:05.


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