OTHERPLANET DOCS
CtrlK
  • πŸͺAbout US
  • πŸ’»Scripts
    • πŸ…ΏοΈOP Garages V2
      • Installation
      • Tutorials
        • Vehicles not shown in Garage
        • How to add player to Garage Admin
      • Configuration
      • Customization
      • Housing Integration
      • Garage Admin Usage
      • Admin Commands
      • Plate Changer
      • Sub Owners
      • Currency Change
      • ByPass Vehicle Types
      • Script Integrations
        • nolag-properties
        • ps-housing
        • qs-smartphone
        • lb-phone
        • gks-phone
        • y-series phones
    • πŸ”«OP Crime Organisations
      • Installation
      • Tutorials
        • How to add player to Crime Admin
      • Config Files
      • Customization
      • Tablet as Item
      • Global States
      • Exports
        • Server Side
    • 🎁OP Container Wars
      • Installation
      • Tutorials
        • How to add player to Admin List?
      • Configuration
      • Multiple Rewards
      • Customization
      • Time Zones
    • πŸ—’οΈ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
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