Skip to content

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#

lua
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#

ParameterTypeDescription
minigameTypestringMinigame UI type (e.g., "minigame-1", "minigame-2")
textstringText to display during the minigame
cb(success)functionCallback returning true if successful, false if failed

πŸ“Œ Example Command#

lua
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.