π§Progressbar
This is how to use our Progressbar
Preview:

Start the Resource in your Server.cfg
start mfp_progressbar
Integration in your scripts
add the following lines to your script, where you want the progressbar to be triggered.
exports['mfp_progressbar']:startUI(yourtime, "YOURMESSAGE")
-- yourtime has to be INT in ms, YYOURMESSAGE a String
This is an example use of it:
exports['mfp_progressbar']:startUI(10000, "Repair Vehicle...")
-- this message is 10000ms = 10sec triggered.
Thats it. Simple to use, right? If you need help use #public-support to ask our community.
Last updated