inside-scripts
Store
  • INFORMATION
    • inside-scripts
  • PAID SCRIPTS
    • 🔑 Vehicle Keys
      • Functions
      • Config
    • 🚗 Garage
      • Functions
      • Script Functionality Overview
      • Config
    • 🥦 Weed Laboratory
      • Config
    • 💊 Sell Drugs
      • Script Functionality Overview
      • Config
    • 🗯️ Dialog V1
      • Functions
      • Config
    • 🗯️ Dialog V2
      • Functions
      • Config
    • 📰 Interaction
      • Functions
      • Config
    • 🪧Notifications and Progress
      • Functions
      • Config
    • 🪛 Lock Picking
      • Config
  • FREE SCRIPTS
    • 🖥️ Bridge & Library
      • Compatibility
      • Usage & Installation
      • Functions
        • Bridge
          • Framework
            • Client
            • Server
          • Inventory
            • Server
          • Fuel
            • Client
          • Keys
            • Client
            • Server
          • Notification
            • Client
            • Server
          • Progress Bar
            • Client
          • Target
            • Client
        • Library
          • Callback
            • Client
            • Server
          • Entity
            • Client
            • Server
          • Blip
            • Client
          • Identifier
            • Server
          • Timezone
            • Server
          • Webhook
            • Server
          • Utility
            • Shared
Powered by GitBook
On this page
  • show
  • Usage
  • Example
  • isActive
  • Usage
  • Example
  • cancel
  • Usage
  • Example
  1. FREE SCRIPTS
  2. 🖥️ Bridge & Library
  3. Functions
  4. Bridge
  5. Progress Bar

Client

show

Usage

bridge.progressbar.show(data, finish, cancel)
  • data: object

    • duration: number

    • title: string

    • useWhileDead(optional): boolean

    • canCancel(optional): boolean

    • animation(optional): object

      • dict: string

      • anim: string

      • flag: number

    • disable(optional): object

      • move(optional): boolean

      • car(optional): boolean

      • combat(optional): boolean

      • mouse(optional): boolean

      • sprint(optional): boolean

  • finish: function

  • cancel: function

Example

bridge.progressbar.show({
    duration = 5000,
    title = "Example Progress Bar",
    useWhileDead = false,
    canCancel = true,
}, function()
    print("success")
end, function()
    print("cancel")
end)
bridge.progressbar.show({
    duration = 5000,
    title = "Example Progress Bar",
    useWhileDead = false,
    canCancel = true,
    animation = {
        dict = "rcmnigel1c",
        anim = "hailing_whistle_waive_a",
        flag = 0,
    },
    disable = {
        move = true,
        car = true,
        combat = true,
    },
}, function()
    print("success")
end, function()
    print("cancel")
end)

isActive

Usage

bridge.progressbar.isActive()

Example

bridge.progressbar.isActive()
  • return: boolean

cancel

Usage

bridge.progressbar.cancel()

Example

bridge.progressbar.cancel()

Last updated 3 months ago