Script ESX QBCore QBOX Standalone

izzy HUD v5

$19.00

izzy HUD v5 – De izzy HUD v5 stelt nieuwe normen op FiveM – U kunt deze HUD volledig aanpassen. Compatibel met ESX framework voor FiveM servers.

Product facts

Framework
ESX, QBCore, QBOX, Standalone
Resource type
Script
Creator / Brand
Izzy Scripts
Included files
1 downloadable file
Add to Cart
izzy HUD v5 FiveM resource preview
izzy HUD v5
$19.00

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))

 

Aanvullende informatie

Framework

ESX, QBCore, QBOX, Standalone