izzy HUD v5

$19.00

The izzy HUD v5 sets new standards on FiveM – You can fully customize this HUD.

$ USD
  • $ USD
  • € EUR
  • £ GBP
Add to Cart
izzy HUD v5 FiveM resource preview
izzy HUD v5
$19.00

Lifetime update access. Files FiveMX publishes to this listing remain available to the original eligible purchase without a subscription. Read the exact scope

Readme

# Progress bar

function QBCore.Functions.Progressbar(name, label, duration, useWhileDead, canCancel, disableControls, animation, prop, propTwo, onFinish, onCancel)
    exports['izzy-hudv5']: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

# Notification

function QBCore.Functions.Notify(text, texttype, length)
    texttype = texttype == "success" and "success" or texttype == "error" and "error" or "inform"
    length = length or 5000
    if type(text) == 'table' then
        local ttext = text.text or 'Placeholder'
        local caption = text.caption or 'Placeholder'
        exports['izzy-hudv5']:addNotification(type, ttext, caption, length)
    else
        exports['izzy-hudv5']:addNotification(type, texttype == 'error' and 'Error' or texttype == 'success' and 'Success' or 'Notify', text, length)
    end
end

# Stress Events (client side)

TriggerEvent("izzy-hudv5:client:gainStress", math.random(1, 3))
TriggerEvent("izzy-hudv5:client:relieveStress", math.random(1, 3))

 

Additional information

Framework

ESX, QBCore, QBOX, Standalone