I made these functions a while ago for DBPro, but as I trying to switch to C++ I have remade them for DarkGDK.
WHAT DOES IT DO?
1. You can create timers by instancing the class eLtimer and use them for anything that needs to have a timer on them. Need more timers at once? Just instance more timers.
2. Draw a progress bar(CastBar) showing the progress of the Timers or anything else that needs a CastBar. Just call the DrawCastBar function with the position, size and percentage done... and you will have a nice castbar.
Have fun... btw feel free to modify the CastBar looks if you like... This was mostly made to show how it can be done.
Btw... the timers works independently of the FPS so they will increase by the correct amount no matter what frame rate you use...
And I also included the example code for the program you see in the screenshot so you can see how to use it all...