Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ProgressBar
- A client side UI progressbar that allows you to display brogress bars/circles within your scripts!
- API Docs
- Initiate the progress bar globally
- Client Side Only
- two
- progressbar = exports.vorp_progressbar:initiate()
- Start your progress UI
- Client Side Only
- two
- progressbar.start(message, time, callback, theme)
- Input Parameters
- Input Info
- message What you want the progress to display
- time how long the progress should display (in milliseconds)
- callback function that will get called when the progress is done
- theme What you want the progress bar/circle to look like
- Theme Options
- Option Info
- linear Shows a linear progress flat bar
- circle Shows a circle progress bar
- innercircle Shows a circle progress bar with a seconds countdown in the middle
- Example:
- two
- progressbar.start("Loading Example", 20000, function ()
- print('DONE!!!!')
- end, 'linear')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement