Hello !
I would like if someone know how to make a notification with progress bar like that :
I searched on http://runtime.fivem.net/doc/reference.html but I didn’t find a function with progressing bar.
thanks
it uses draw rectangle and then reduces the width over time
there is no draw progress bar, its never that easy 
Are you sure? I remember seeing it in the basic game
cerium
5
The game itself also used DRAW_* natives for this.
Thanks, I will try with these fonctions.
What natives did you use to achive the red bar? I’m trying this myself however the drawrect’s width are centered ?
You have to modify the center of you red bar during the animation
How did you get this to work? Curious cause I am looking to have something like this implemented into a script I have showcased below.
You might want to take a look at some code I wrote some weeks ago.
It is not perfect, since different resolutions fuck with the position, but this can probably be easily fixed.