Skip to content

AN Progress Bar | Just another Free Progress Bar for FiveM

License

Notifications You must be signed in to change notification settings

aymannajim/an_progBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

an_progBar

image

Join my Discord

PREVIEW:

image image

VIDEO:

https://www.youtube.com/watch?v=TFv9voVMuRc

How to use:

exports['an_progBar']:run(TIME,TEXT,OPTIONAL_COLOR)

TIME: [Number] Time in seconds

TEXT: [String] Text shown in the progress bar

OPTIONAL_COLOR: [String] Color in HEX format - This is 100% OPTIONAL, not using this argument will make the progress bar use the Config.defaultColor set on the config file.

exports['an_progBar']:stop()

This will stop the progress bar

Example Code:

-- code before the progress bar
exports['an_progBar']:run(10,'Lockpicking','#E14127')
Citizen.Wait(10000)
-- code after the progress bar
                         PLEASE NOTE:
YOU NEED TO DO A CITIZEN.WAIT(TIME) WITH THE SAME TIME SPECIFIED
            AFTER EXECUTING THE PROGRESS BAR FUNCTION
   TO MAKE THE SCRIPT UNABLE TO RUN UNTIL THE BAR FINISHES UP

About

AN Progress Bar | Just another Free Progress Bar for FiveM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published