So the problem is that there is a function called "animate"
https://wiki.multitheftauto.com/wiki/Animate
and with this function we can animate the GUI etc ... but there is one problem, because I would like to stop this function at some point and stop animating at some point, there is a way to do that ?