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!!!
\_ŻŻŻ