OTHERPLANET DOCS
  • 🪐About US
  • 💻Scripts
    • 🔫OP Crime Organisations
      • Installation
      • Config Files
      • Customization
      • Tablet as Item
      • Global States
      • Exports
        • Server Side
    • 🚘OP Mechanic Job
      • Installation
      • Config File
      • Setup Jobs
      • Setup Dispatch
      • Get Duty
      • Update Tablet Stats
      • Notifications/Progressbar
      • Discord Logs
    • 🗒️OP Requests
      • Installation
      • Config
      • Usage
    • 🌇OP HUD
      • Config File
      • Instalation
      • Progress Bar Usage
      • Notify Usage
      • Alcohol Status & Stamina
    • 🏎️OP Vehicle Theft
      • Installation
      • OX Inventory
      • Translate Sounds
      • Config
      • Customization
    • 🅿️OP Garages V1 (OLD)
      • Installation
      • Config
        • Main
        • Garages Locations
        • Vehicles and Brands
      • Customization
      • Vehicle Types
      • Jobs
      • Exports
      • Other
Powered by GitBook
On this page
  1. Scripts
  2. OP HUD

Progress Bar Usage

Using Exports (example, if you don't want animation or prop just remove it):

exports["op-hud"]:startProgress(10, "Test Progress.",{
        prop = "prop_portaloo_01a",
        freeze = true,
        anim = {
            dict = "random@atmrobberygen", 
            lib ="a_atm_mugging"
        },
        onFinish = function()
        --Your Code
end, onCancel = function()
        --Your Code
end})

Using Event:

TriggerEvent('op-hud:startProgress', time, description, settings)
PreviousInstalationNextNotify Usage

Last updated 1 year ago

💻
🌇