Skillbar

🎯 FRKN Skillbar Export

A custom skillbar minigame system for FiveM, built into frkn-notify UI. Supports different minigame types (e.g., minigame-1, minigame-2).


📌 Usage

exports['frkn-uikit']:StartSkillbar("minigame-2", "Hack the system", function(success)
    if success then
        print("✅ Player completed the skillbar successfully!")
    else
        print("❌ Player failed the skillbar.")
    end
end)

📌 Parameters

Parameter
Type
Description

minigameType

string

Minigame UI type (e.g., "minigame-1", "minigame-2")

text

string

Text to display during the minigame

cb(success)

function

Callback returning true if successful, false if failed


📌 Example Command

RegisterCommand('skill', function()
    exports['frkn-uikit']:StartSkillbar("minigame-2", "Hack the system", function(success)
        if success then
            print("Hack completed ✅")
        else
            print("Hack failed ❌")
        end
    end)
end)

👉 Works seamlessly with the Notify and Progressbar exports, using the same UI model system.

Last updated