Raised This Month: $ Target: $400
 0% 

time left in a round


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 08-02-2008 , 20:37   Re: time left in a round
Reply With Quote #8

Quote:
Originally Posted by connorr View Post
This will return the entire map timeleft.



I've made a plugin you can use.
Install the plugin, then you can use the native get_remaining_seconds() in all plugins you want.
You have to put the .inc file in scripting/includes/ folder in order to compile plugins using the native.
You also have to declare my plugin before other plugins that will use the native.

get_remaining_seconds() will return :

- negative values during freezetime
- remaining seconds before round end during a round
- remaining seconds before the bomb explose once bomb is planted
- 0 during round end or when a restart has been triggered
hope you don't mind me using it too
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores 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