PA Scripts
Scripts
  • Overview
  • Hookers
    • 🔧 Installation
    • ðŸŽŪ Gameplay & Usage
    • ⚙ Configuration Details
  • Multiplayer Roof Running
    • 🔧 Installation
    • 🔍 Gameplay & Usage
    • ⚙ïļ Configuration Details
  • Crafting System
    • 🔧 Installation
    • 🔍 Usage
    • ⚙ïļ Configuration Details
  • Lockpick System
    • 🔧 Installation
    • 🔍 Usage
    • ⚙ïļ Configuration Details
  • Racing System
    • 🔧 Installation
    • 🔍 Usage
    • ⚙ïļ Configuration Details
  • Hacking System
    • 🔧 Installation
    • 🔍 Usage
    • ⚙ïļ Configuration Details
  • Money Laundering System
    • 🔧 Installation
    • 🔍 Usage
    • ⚙ïļ Configuration Options
  • Radial Menu
    • 🔧 Installation
    • 🔍 Usage
    • ⚙ïļ Configuration Options
  • Prop System
    • 🔧 Installation
    • 🔍 Usage
    • Configuration Details
  • Hq App + Art Asylum Heist
    • ⚔ïļGeneral information page
    • 🧠Installation
  • Inventory
    • Readme file
    • 🧠Installation
    • ðŸŠķConfig Settings
  • Craft System
    • ðŸ’ŧGeneral features
    • 🧠Installation
    • ðŸŠķConfig Settings
    • ðŸŸĶBlueprints
  • UI Pack
    • ⚙ïļSetting for Core
    • ðŸŠķUsage examples
Powered by GitBook
On this page
  • QB Progressbar Example usage:
  • QB Noitfy Example usage :
  • INFO BAR

Was this helpful?

  1. UI Pack

Usage examples

Usage examples

QB Progressbar Example usage:

QBCore.Functions.Progressbar("search_register", "Searching Register", 5000, false, true, {
        disableMovement = false,
        disableCarMovement = false,
        disableMouse = false,
        disableCombat = false,
    }, {}, {}, {}, function() -
        QBCore.Functions.Notify("You have searched the register", "success")
    end, function() 
        QBCore.Functions.Notify("You have stopped searching the register", "error")
end)

QB Noitfy Example usage :

    QBCore.Functions.Notify("Test", "error")

INFO BAR

  • CLIENT

OPEN

TriggerEvent('pa-lib:openinfo', "Get Car" , "Go to motel and take car.") 

CLOSE

TriggerEvent('pa-lib:closeinfo')
  • SERVER

OPEN

 TriggerClientEvent('pa-lib:openinfo', source,"Get Car" , "Go to motel and take car.")

CLOSE

 TriggerClientEvent('pa-lib:closeinfo', source)
PreviousSetting for Core

Last updated 10 months ago

Was this helpful?

ðŸŠķ