ZSX Development
  • Homepage to Innovation
  • User Interface V2
    • Installation
      • Introduce
      • Integration for Chat
      • ZSX_Multicharacter Integration
      • Auto Installer
        • About
        • Overextended Library
    • Exports
      • Interfaces
        • Default Notifications
        • Help Notification
        • Notifications
        • Progress Bar
        • TextUI
          • Updating text & key
        • Point
        • Chat
          • AddMessage
          • AddUserMessage
        • 3D DUI
      • Storage
        • Gathering Storage
          • Get Color
          • Get Type
          • Get Options
          • Is Configuration Done
        • Get Current Screen
        • Is UI Busy
        • Gathering position of the interface
      • Threads
        • Interrupting Thread
      • Other
        • DisplayRadar
        • OpenConfiguration
        • OpenMainMenu
        • OpenSettings
        • IsPauseMenuActive
        • IsUIBusy
        • GetCurrentScreen
        • Cinematic
    • Configurating
      • Handling UI
        • Show / Hide UI
        • Disabling Interfaces
        • Disabling Interfaces type
        • Disabling configuration for Interface
        • Creating new status for HUD
        • Changing links
        • Custom Pause Menu Navbar
        • Removing Pause Menu user data
        • Adjusting new voice states
        • Changing between voice indicators
        • Adding new blacklisted weapon
        • Adding blacklist for vehicle model
        • Changing currency
      • Commands
        • Adding commands
      • Translating
        • Translating the resource
        • Adding translation to custom weapons
        • Translating component's type label
      • Handling Data
        • Adding more accounts to Displayers
        • Adding addon elements to Displayers
        • Creating job2 functionality
        • Changing default keybinds
      • AIO Options
      • Camera stuff
        • Creating new preset for Cinematic Mode
        • Creating new scenes for Main Menu
    • Snippets
      • ESX
        • Notification
        • TextUI
        • ShowAdvancedNotification
        • ShowHelpNotification
      • QBCore
        • Notification
        • ProgressBar
  • Multicharacter
    • Installation
      • Setting up the Appearance
      • Setting up the logo
      • Setting up table removal
    • Exports
      • Client
        • GetConfigValue
        • GetUserStorage
        • Logout
        • SetLocationsDisabled
        • isInMulticharacter
        • Initialize
      • Server
        • isInMulticharacter
        • Logout
    • Workers
    • Baseevents
    • FAQ
    • Translating the resource
    • Open source files
    • Common Issues
      • Common
      • ESX
      • Database
      • Other
  • User Interface
    • About
    • Notifications
    • Progressbar
    • Custom Initialization
    • Functions
  • Dealership
    • About
    • Installation
    • Adding a Store
    • Using Exclusive Content
    • Listeners
    • Configuration
Powered by GitBook
On this page
  • Add
  • disableControls object
  • anim object
  • prop object
  1. User Interface V2
  2. Exports
  3. Interfaces

Progress Bar

Add

In order to add progress bar you can use the following code:

exports['ZSX_UIV2']:ProgressBar(icon, text, duration, onComplete, onCancel, canCancel, disableControls, anim, prop1, prop2)
Arg
Information

icon

text

String Text of the task

duration

Number Duration of the task

onComplete

Function Called at the end of task

onCancel

Function Called at the interruption of the task

canCancel

Boolean Whether user can cancel task or not.

disableControls

Object Disable each control

anim

Object Creating animation

prop1

Object Creates prop #1

prop2

Object Creates prop #2

disableControls object

key
value
Optional

disable_mouse

Boolean Disable mouse movement

disable_walk

Boolean Disable player movement

disable_driving

Boolean Disable vehicle movement

disable_combat

Boolean Disable combat

anim object

key
value
Optional

dict

String Dictionary of animation

clip

String Clip set of animation

blendIn

Number Blend In

blendOut

Number Blend Out

duration

Number Duration of animation

flag

Number Flags

playbackRate

Number Playback Rate

lockX

Boolean Lock X axis

lockY

Boolean Lock Y axis

lockZ

Boolean Lock Z axis

prop object

key
value
Optional

model

String / Hash Model of the prop

bone

String Bone to attach

pos

Vector / Object Offset of the object

rot

Vector / Object Rotation of the object

PreviousNotificationsNextTextUI

Last updated 2 months ago

String Icon of the progress bar. .

Icons list