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
  • Manually updating stage
  • Marking stage as active
  • Marking stage as complete
  • Remove
  1. User Interface V2
  2. Exports
  3. Interfaces

Help Notification

Help Notifications are displayed in the top-left corner of the screen. They are specifically designed to manage job-related updates and other critical tasks.

Add

To add Help Notification, you can simply call the export:

exports['ZSX_UIV2']:HelpNotification(data)

Data object contains:

-- Example with text as an object (it creates thing like tasks-list)
local data = {
    icon = 'fas fa-warehouse',
    header = 'Task Example',
    text = {
        {
            name = 'point1', -- make sure to add name otherwise it won't be added!
            active = true, -- make sure to set one as an active element!
            complete = false,
            text = 'Go to Point #1',
        }, {
            name = 'point2',
            active = false,
            complete = false,
            text = 'Finish by going to Point #2',
        }
    }
}

-- Example with text as an string
local data = {
    icon = 'fas fa-warehouse',
    header = 'Task Example',
    text = 'Do anything else!'
}

Data layout

Key
Value
Optional

icon

header

String Header of the help notification.

text

Text as object layout

Key
Value
Optional

name

String Unique name of the task.

active

Boolean Mark stage as active (current).

complete

Boolean Mark stage as already done.

text

String Text of the stage

Manually updating stage

This mainly focuses on the text as an object, since you can't update the stage for non-task element.

exports['ZSX_UIV2']:HelpNotification_UpdateStage(data)

Data object contains:

-- Updating stage by switching element to active one
local data = {
    stage = 'point1',
    key = 'active',
    value = true
}
Key
Value

stage

String Unique name set for the stage.

key

String Key of the updated element.

value

Boolean Value of the updated element.

Marking stage as active

exports['ZSX_UIV2']:HelpNotification_SetStageAsActive(stageName)

Marking stage as complete

exports['ZSX_UIV2']:HelpNotification_SetStageAsComplete(stageName)

Remove

In order to remove Help Notification you can use that export:

exports['ZSX_UIV2']:HelpNotification_Remove()

PreviousDefault NotificationsNextNotifications

Last updated 6 months ago

String Icon of the help notification,

String/Object Text/ of the help notification.

list
Object