Advertisement
hhjfdgdfgdfg

vorp progressbar docs

Mar 22nd, 2024
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. ProgressBar
  2. A client side UI progressbar that allows you to display brogress bars/circles within your scripts!
  3.  
  4. API Docs
  5. Initiate the progress bar globally
  6. Client Side Only
  7. two
  8. progressbar = exports.vorp_progressbar:initiate()
  9. Start your progress UI
  10. Client Side Only
  11. two
  12. progressbar.start(message, time, callback, theme)
  13. Input Parameters
  14.  
  15. Input Info
  16. message What you want the progress to display
  17. time how long the progress should display (in milliseconds)
  18. callback function that will get called when the progress is done
  19. theme What you want the progress bar/circle to look like
  20. Theme Options
  21.  
  22. Option Info
  23. linear Shows a linear progress flat bar
  24. circle Shows a circle progress bar
  25. innercircle Shows a circle progress bar with a seconds countdown in the middle
  26. Example:
  27.  
  28. two
  29. progressbar.start("Loading Example", 20000, function ()
  30. print('DONE!!!!')
  31. end, 'linear')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement