This is how to use our Progressbar
Last updated 5 months ago
Start the Resource in your Server.cfg
start mfp_progressbar
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 to ask our community.