Skip to content

NaorNC/nc-progressbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot & Video

nc-progressabr

Our Discord:

If you have any problem, feel free to open a ticket - https://discord.gg/cKt4Mpd2PQ

Installation

  • Download the script then drag it to - [standalone] folder.
  • Add the following code to your server.cfg/resouces.cfg
ensure nc-progressbar

Export - qb-core/client/functions.lua

function QBCore.Functions.Progressbar(name, label, duration, useWhileDead, canCancel, disableControls, animation, prop, propTwo, onFinish, onCancel)
    exports['nc-progressbar']:Progress({
        name = name:lower(),
        duration = duration,
        label = label,
        useWhileDead = useWhileDead,
        canCancel = canCancel,
        controlDisables = disableControls,
        animation = animation,
        prop = prop,
        propTwo = propTwo,
    }, function(cancelled)
        if not cancelled then
            if onFinish then
                onFinish()
            end
        else
            if onCancel then
                onCancel()
            end
        end
    end)
end

About

QBCore // Standalone - ProgressBar By NaorNC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published