Elite Store
DiscordTebex
  • Elite Store Documentation
  • Scripts
    • Elite BlackMarket
      • Configuration
      • Server Configuration
      • Custom Image
      • API
    • Elite Prostitute Manager
      • Configuration
      • Server Configuration
      • Personalization
      • Custom Framework
    • Elite HUD - V1
      • Configuration
      • API
    • Elite HUD - V2
      • Configuration
Powered by GitBook
On this page
  • Custom Notification
  • Custom ProgressBar
  1. Scripts
  2. Elite Prostitute Manager

Personalization

To customize the Notification and ProgressBar, you must go to client/cl_utils.lua

Custom Notification

function utils.Notify(type, msg)
    if Config.FrameWork == "esx" then
        ESX.ShowNotification(msg, type, 5000)
    elseif Config.FrameWork == "qbcore" then
        QBCore.Functions.Notify(msg, type, 5000)
    else
        print("configure your notification system")
    end
end

Custom ProgressBar

function utils.ProgressBar(msg, time)
    lib.progressCircle({
        duration = time,
        label = msg,
        position = "bottom",
        useWhileDead = false,
        canCancel = true,
        disable = {
            move = true,
            combat = true,
        },
        anim = {
            dict = "misscarsteal4@actor",
            clip = "actor_berating_loop"
        },
    })
end
PreviousServer ConfigurationNextCustom Framework

Last updated 3 months ago